Re: StartupItem & Mac OS X 10.4 & later
Re: StartupItem & Mac OS X 10.4 & later
- Subject: Re: StartupItem & Mac OS X 10.4 & later
- From: Dave Zarzycki <email@hidden>
- Date: Tue, 10 Oct 2006 10:04:02 -0700
On Oct 10, 2006, at 9:27 AM, Stephane Sudre wrote:
* Stupid question:
Can launchd be used to replace any kind of StartupItem?
Depends.
* Less stupid question:
Can launchd be used to replace any kind of StartupItem?
Apparently, launchd can 'launch' a daemon at startup but:
- it launches only a daemon, it can't load kernel extensions at the
same time (maybe you can launchd a script?)
Yes, you can interpose a script if you wish.
- there is no dependency mechanism such as "only start when network
is initialized".
The problem is that the network is never done initializing on a modern
operating system. It can and will change at runtime. If you fix your
daemon to deal with that, then the so-called "dependancy" evaporates.
We have found this to be true of all dependencies. They're just
declarations of assumptions about how the world won't change on them.
Once you fix software to deal with reality, then the need for
"dependencies" goes away.
davez
_______________________________________________
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