site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On Oct 10, 2006, at 9:27 AM, Stephane Sudre wrote: * Stupid question: Depends. * Less stupid question: Can launchd be used to replace any kind of StartupItem? Apparently, launchd can 'launch' a daemon at startup but: Yes, you can interpose a script if you wish. davez _______________________________________________ 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... 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". 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. This email sent to site_archiver@lists.apple.com