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 Schroeder <email@hidden>
- Date: Tue, 10 Oct 2006 11:48:28 -0500
On Oct 10, 2006, at 11:27 AM, Stephane Sudre wrote:
* Stupid question:
Can launchd be used to replace any kind of StartupItem?
Short answer: Yes.
* 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?)
- there is no dependency mechanism such as "only start when network
is initialized".
Long answer: More or less, yes.
There are some differences from, e.g., SystemStarter. There is no
dependency system as simple as what exists in SystemStarter. But you
can use IPC to have things talk to each other to figure it out.
You may be interested in looking at http://lingon.sourceforge.net/ as
an interface to creating launchd items.
- Dave
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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