I need dnsmasq to run at boot on Mavericks. I've got dnsmasq working fine. I've created a .plist file in /Library/LaunchDaemons with the following contents:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Label</key> <string>uk.org.thekelleys.dnsmasq</string> <key>ProgramArguments</key> <array> <string>/usr/local/sbin/dnsmasq</string> <string>--keep-in-foreground</string> </array> <key>RunAtLoad</key> <true/> </dict> </plist>
This runs perfectly if I do:
sudo launchctl load -w /Library/LaunchDaemons/uk.org.thekelleys.dnsmasq.plist
However, it does not start at boot. Permissions are: -rw-r-xr-x What am I missing?