macosunixdaemonlaunchd

MacOS: Manually force a daemon to start


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!


Solution

  • 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