Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: StartupItem & Mac OS X 10.4 & later



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

This email sent to email@hidden

References: 
 >StartupItem & Mac OS X 10.4 & later (From: Stephane Sudre <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.