Re: startup context: Same player, do not shoot again?
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com On 15 oct. 04, at 18:43, Quinn wrote: _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... At 15:44 +0200 15/10/04, stephane sudre wrote: Does this mean that as soon as you stop your daemon, you have no way to relaunch it in the startup context? Most of Apple's daemons are BSD based, and thus don't really care what Mach bootstrap port namespace they launch in. Strangely from what I've seen on 10.2, I observed different communication abilities whether you were launching a daemon from the user or startup context. This got fixed in 10.3 IIRC. Which ways are the not recommended to start in the startup context? The one I'd recommend, especially for relaunching a daemon, is "/usr/libexec/StartupItemContext" <x-man-page://8/StartupItemContext>. It looks 99% perfect. The 1% left is that it's not available on Mac OS X 10.1.x but this is not a huge issue IMHO. This email sent to site_archiver@lists.apple.com
participants (1)
-
Stephane Sudre