Reputation: 6406
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!
Upvotes: 11
Views: 12119
Reputation: 1480
I know this post already has an answer but because this is such an uncommon topic, I thought I'd weigh in as well. The command that worked for me was
sudo launchctl kickstart system/com.example.service
The plist for this daemon would need to be in /Library/LaunchDaemons.
Upvotes: 1
Reputation: 6406
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
Upvotes: 14