Re: starting daemons in the startup context
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Eli Bach <ebach2@gmail.com> 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 (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
Bill Janssen