[launchd-dev] Facing problem with launch daemon on logout

Nandini Vijayashankar vnandini at novell.com
Thu May 3 21:09:47 PDT 2012


Iam not running through commandline.
I have a plist file in /System/Library/LaunchDaemon.This plist file invokes a shell script which starts my daemon process
 
Thanks

>>> "Quinn "The Eskimo!"" <eskimo1 at apple.com> 5/3/2012 2:59 PM >>>

On 3 May 2012, at 06:27, Nandini Vijayashankar wrote:

> I can start the process using: launchctl load <plistfile>

Are you doing this from the command line?  If so, you should run launchctl via sudo to force it to talk to the global launchd.

If you're doing this programatically, things get more complex (-:

Share and Enjoy 
--
Quinn "The Eskimo!"                    <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware


_______________________________________________
launchd-dev mailing list
launchd-dev at lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/launchd-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/launchd-dev/attachments/20120503/4e0499d0/attachment.html>


More information about the launchd-dev mailing list