Ian Glen 32535a5f02 Added plist editing instructions to launchd readme 10 years ago
..
Readme.md 32535a5f02 Added plist editing instructions to launchd readme 10 years ago
com.cjdelisle.cjdns.plist 02f4aeac88 cjdroute must be in /usr/local/bin for launchd 10 years ago

Readme.md

com.cjdelisle.cjdns.plist

LaunchDaemon for cjdns on OS X.

Usage

Copy to /Library/LaunchDaemons

Set permissions and ownership with:

sudo chmod 644 /Library/LaunchDaemons/com.cjdelisle.cjdns.plist
sudo chown root:wheel /Library/LaunchDaemons/com.cjdelisle.cjdns.plist

Edit /usr/local/bin/cjdroute in the plist to match where you have cjdroute (/usr/local/bin/cjdroute is recommended). Edit /etc/cjdroute.conf in the plist to match where you have the config file (/etc/cjdroute.conf is recommended).

Make sure config file /etc/cjdroute.conf exists and "noBackground":1 is set so cjdroute doesn't daemonize automatically.

Then load the plist with launchctl:

sudo launchctl load /Library/LaunchDaemons/com.cjdelisle.cjdns.plist