Starting on macOS
The OS service manager on macOS is launchd
, and the terminal
command for controlling it is launchctl. You can load, unload, start, stop, or
check the status of the faspio-gateway service by running the
launchctl subcommands.
launchctl subcommands
- Load the service. Loading the service also starts
it:
$ sudo launchctl load /Library/LaunchDaemons/com.ibm.aspera.faspio-gateway.plist
- Start the loaded service (such as a stopped service that is still loaded):
$ sudo launchctl start com.ibm.aspera.faspio-gateway
- Check the status of the
service:
$ sudo launchctl list | grep com.ibm.aspera.faspio-gateway
- Stop the
service:
$ sudo launchctl stop com.ibm.aspera.faspio-gateway
- Unload the
service:
$ sudo launchctl unload /Library/LaunchDaemons/com.ibm.aspera.faspio-gateway.plist