Xymon Mailing List Archive search

LaunchDaemons mac.. again...

list Rob McBroom
Tue, 16 Jun 2009 11:37:35 -0400
Message-Id: <user-43135ad812cb@xymon.invalid>

On 2009-Jun-12, at 2:45 PM, Willam Ottley wrote:
       <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>

I mentioned before that runclient.sh probably won't work with launchd  since it exits, but I imagine you've done more testing since then and  maybe you know something I don't. Also, the section above will run the  command as `/Users/xymon/client/runclient.sh /Users/xymon/client/ runclient.sh start`. I think you want to omit the Program section and  use only the ProgramArguments as you have it written so it will end up  running just `/Users/xymon/client/runclient.sh start`.

-- 
Rob McBroom
<http://www.skurfer.com/>;