How to start/stop/restart launchd services from the command line?

launchctl(8) is your friend. Just keep in mind that some of the services (sshd for example) are disabled in the configuration file so you will need to use the -w switch when loading them. Here is a sshd example: $ sudo launchctl load -w /System/Library/LaunchDaemons/ssh.plist You can stop the service using the unload subcommand. $ … Read more