Skip to main content

Turning a service on/off on macOS

Written by Petr Pech

Stopping/starting the FB server:

OFF: sudo launchctl unload /Library/LaunchDaemons/eu.flexibee.server.plist

(without a forced start, the service will never start automatically after being stopped)

ON: sudo launchctl load /Library/LaunchDaemons/eu.flexibee.server.plist

(once started, the system will automatically launch it again)

Stopping/starting pgSQL:

OFF: sudo launchctl unload /Library/LaunchDaemons/eu.flexibee.postgresql.plist

(the same applies as for the FB server)

ON: sudo launchctl load /Library/LaunchDaemons/eu.flexibee.postgresql.plist

(the same applies as for the FB server)

Did this answer your question?