MacOS: Manually force a daemon to start

Jem picture Jem · May 10, 2012 · Viewed 9.4k times · Source

I've created a plist file in the /Library/LaunchDaemon/

The computer on which it runs cannot be restarted (server thing), it's running MacOS Tiger. I expected the following command to do the job, but it states it's not meant to be run directly:

launchd /Library/LaunchDaemon/parallel.plist

How can this be achieved? Thanks!

Answer

Jem picture Jem · May 10, 2012
sudo launchctl load /Library/LaunchDaemons/parallel.plist

should cause the daemon to autorun.

See http://www.aandcp.com/launchdaemons-and-mac-os-x-openvpn-as-an-example