Posted By


smoothnoodle on 11/21/06

Tagged


Statistics


Viewed 488 times
Favorited by 0 user(s)

Heartbeatd propertylist


/ Published in: XML
Save to your folder(s)

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.


Copy this code and paste it in your HTML
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
  3. <plist version="1.0">
  4. <dict>
  5. <key>Disabled</key>
  6. <false/>
  7. <key>GroupName</key>
  8. <string>wheel</string>
  9. <key>Label</key>
  10. <string>uk.ac.rave.heartbeatd</string>
  11. <key>OnDemand</key>
  12. <false/>
  13. <key>ProgramArguments</key>
  14. <array>
  15. <string>/usr/sbin/heartbeatd</string>
  16. <string>--no-fork</string>
  17. <string>x.x.x.x</string>
  18. <string>x.x.x.x</string>
  19. </array>
  20. <key>RunAtLoad</key>
  21. <true/>
  22. <key>ServiceDescription</key>
  23. <string>Non-Daemonised heartbeatd</string>
  24. <key>UserName</key>
  25. <string>root</string>
  26. </dict>
  27. </plist>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.