[Mono-dev] Launchctl and Mono-Service2 issue

Steve Lessard s_lessard at yahoo.com
Fri Mar 18 10:10:36 EDT 2011


Have a look at the man pages for launchctl and launchd. In there you will
find a few very important details about what is required to enable a daemon
to launch at system restart.  Here's a short version based on my
recollection:

A daemon loads at system boot,
An agent loads at user login
The plist file for any daemon or agent under /Library must be owned by root
and must not be writable by anyone other than root. (This is a security
restriction.)
It's best to add keys to the plist to have it run under a lower privileged
user account


--
View this message in context: http://mono.1490590.n4.nabble.com/Launchctl-and-Mono-Service2-issue-tp3386856p3387292.html
Sent from the Mono - Dev mailing list archive at Nabble.com.


More information about the Mono-devel-list mailing list