[hobbit] LaunchDaemons mac.. again...
dshiels
dshiels at paypal.com
Fri Jun 12 21:59:15 CEST 2009
Wouldn't it just be easier to put a nanny line in the user crontab to fire
it up?
*/30 * * * * (ps -ef | grep -v grep | grep xymon || <run server start script
here> )
Adjust as your env requirements may be different.
On 6/12/09 11:45 AM, "Willam Ottley" <wottley at stjosephcontent.com> wrote:
> Hi all,
> Tried with advice recently from here, and other places to do a proper plist
> file
> But for some reason it doesn't work properly.
> could anyone have a quick look and see if the structure is wrong?
> Thanks!
>
> ns1:LaunchDaemons root# cat com.xymon.client.plist
> <?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>KeepAlive</key>
> <true/>
> <key>Label</key>
> <string>com.xymon.client</string>
> <key>OnDemand</key>
> <false/>
> <key>Program</key>
> <string>/Users/xymon/client/runclient.sh</string>
> <key>ProgramArguments</key>
> <array>
> <string>/Users/xymon/client/runclient.sh</string>
> <string>start</string>
> </array>
> <key>RunAtLoad</key>
> <true/>
> <key>ServiceDescription</key>
> <string>Xymon Startup</string>
> <key>UserName</key>
> <key>RunAtLoad</key>
> </dict>
> </plist>
>
> This message is intended only for the use of the individual or entity
> to which it is addressed, and may contain information that is
> privileged, confidential and/or exempt from disclosure under
> applicable law. If the reader of this is not the intended recipient,
> or the employee or agent responsible for delivering the message to the
> intended recipient, you are hereby notified that any dissemination,
> distribution or copying of this communication is strictly prohibited.
> If you have received this communication in error, please notify me
> immediately by return email and delete this message from your system.
> Thank you.
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
>
>
More information about the Xymon
mailing list