Re: StartupItem & Mac OS X 10.4 & later
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On Oct 10, 2006, at 11:27 AM, Stephane Sudre wrote: * Stupid question: 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: Long answer: More or less, yes. - Dave _______________________________________________ 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 Can launchd be used to replace any kind of StartupItem? - 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". 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. smime.p7s
participants (1)
-
Dave Schroeder