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:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden