Re: starting daemons in the startup context
Re: starting daemons in the startup context
- Subject: Re: starting daemons in the startup context
- From: Bill Janssen <email@hidden>
- Date: Fri, 27 Mar 2009 12:59:09 PDT
- Comments: In-reply-to Eli Bach <email@hidden> message dated "Fri, 27 Mar 2009 12:44:05 -0700."
Eli Bach <email@hidden> wrote:
> First, if you can require 10.5, have you looked at launchagents (which
> only launch when a user logs in, and run as the logged in user vs
> launchdaemons, which launch typically at startup, and aren't linked to
> logged in users). It's my understanding that these execute in the
> user's context, and not the bootstrap context.
Yes, I know a lot about launchd and launchctl and launchagents, but this
daemon needs to run even when the user isn't logged in. I'm looking for
some alternative to StartupItemContext that a normal user can run.
Alternatively, I'd like to find some way for a user bootstrap context to
not timeout after a few hours. This happens even if the user is still
logged in to the console, but is inactive for a while (say, overnight).
I've been thinking about trying to make my daemon compatible with launchd,
but it's a task. But then I could use the SessionCreate property...
Bill
_______________________________________________
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