/ Published in: XML
Plist file for heartbeatd to be handled by Launchd - change the ip addresses to match your own - I have called this uk.ac.rave.heartbeatd.plist. Change the "x.x.x.x" in the array within ProgramArguments to the IP's that you are using.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Disabled</key> <false/> <key>GroupName</key> <string>wheel</string> <key>Label</key> <string>uk.ac.rave.heartbeatd</string> <key>OnDemand</key> <false/> <key>ProgramArguments</key> <array> <string>/usr/sbin/heartbeatd</string> <string>--no-fork</string> <string>x.x.x.x</string> <string>x.x.x.x</string> </array> <key>RunAtLoad</key> <true/> <key>ServiceDescription</key> <string>Non-Daemonised heartbeatd</string> <key>UserName</key> <string>root</string> </dict> </plist>