Re: silly launchd question
Re: silly launchd question
- Subject: Re: silly launchd question
- From: Axel Luttgens <email@hidden>
- Date: Fri, 20 Apr 2007 11:00:32 +0200
On 20/04/07 8:10, email@hidden wrote:
... how do I get launchctl to load (and start) my job when the user
logs in? The plist lives in the users' ~/Library/LaunchDaemons/
folder, and I tried setting RunAtLoad, but it doesn't seem to work :-(
At the user's directory level, only LaunchAgents are handled by launchd
(for example, see the "FILES" section at the end of launchd's man page);
it is rather logical, as users aren't supposed to be able to define
system wide daemons by themselves...
But LaunchAgents are somewhat problematic under 10.4.
You could have a look at:
<http://www.omnigroup.com/mailman/archive/macosx-admin/2007-March/056006.html>
to see the nature of the problem.
Now, do you really need to have the job launched thru launchd?
There are other possibilities, such as loginwindow's LoginHook, or even
startup items as defined in the user's account.
Could you tell us a bit more about what you want to achieve?
HTH,
Axel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden