Return to Snippet

Revision: 1915
at November 22, 2006 03:04 by smoothnoodle


Updated Code
<?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>

Revision: 1914
at November 21, 2006 05:57 by smoothnoodle


Initial Code
<?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>192.168.0.11</string>
                <string>10.0.4.82</string>
        </array>
        <key>RunAtLoad</key>
        <true/>
        <key>ServiceDescription</key>
        <string>Non-Daemonised heartbeatd</string>
        <key>UserName</key>
        <string>root</string>
</dict>
</plist>

Initial URL

                                

Initial Description
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.

Initial Title
Heartbeatd propertylist

Initial Tags
xml, osx

Initial Language
XML