[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] LaunchDaemons mac.. again...
- To: <hobbit (at) hswn.dk>
- Subject: Re: [hobbit] LaunchDaemons mac.. again...
- From: dshiels <dshiels (at) paypal.com>
- Date: Fri, 12 Jun 2009 12:59:15 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=simple/simple; d=paypal.com; i=dshiels (at) paypal.com; q=dns/txt; s=ppcorp; t=1244836919; x=1276372919; h=from:sender:reply-to:subject:date:message-id:to:cc: mime-version:content-transfer-encoding:content-id: content-description:resent-date:resent-from:resent-sender: resent-to:resent-cc:resent-message-id:in-reply-to: references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:list-owner:list-archive; z=From:=20dshiels=20<dshiels (at) paypal.com>|Subject:=20Re:=20 [hobbit]=20LaunchDaemons=20mac..=20again...|Date:=20Fri, =2012=20Jun=202009=2012:59:15=20-0700|Message-ID:=20<C658 01A3.AF6E%dshiels (at) paypal.com>|To:=20<hobbit (at) hswn.dk> |Mime-version:=201.0|Content-transfer-encoding:=207bit |In-Reply-To:=20<1217915939.313221244832321774.JavaMail.r oot (at) zstore.stjosephcontent.com>; bh=+y0hRPCd79Xo0D2HkiuZfMd6q/2e9j0UX/ienyy4APA=; b=RKY+AazdLQ20hfXyOJHn5U0jySBjUP94FJ+G+PBy643N4V4jc7FWW/4h oN/145PyBtb5NVk1pIJiXpWceUXOAvV60vPXnrCy5xpZI32LPF4i9Nf03 /Xs5Yl605g1Cmux;
- Domainkey-signature: s=ppcorp; d=paypal.com; c=nofws; q=dns; h=X-EBay-Corp:X-IronPort-AV:Received:Received:Received: User-Agent:Date:Subject:From:To:Message-ID:Thread-Topic: Thread-Index:In-Reply-To:Mime-version:Content-type: Content-transfer-encoding:Return-Path: X-OriginalArrivalTime; b=LyLeO/m1P0kUPNGvkArUP7ZJe4ou5leGCXYPQGOIKdpfbHgn7cU/wi5V cJh6Om+fbKtxN4xUuElU+lKsMjfsoE7KeO5oQsrJwfWWPEMbdjlWgsU9G vsY+S0eVnYSSTl7;
- Thread-index: AcnrmEMYG7aPcrA8XkuxPHpfubYVzg==
- Thread-topic: [hobbit] LaunchDaemons mac.. again...
- User-agent: Microsoft-Entourage/12.19.0.090515
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
>
>