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: OS X StartupItems v.s. BSD daemon...



On Oct 27, 2004, at 19:05, Michael Burbidge wrote:

I'm need to write a startupitem or daemon which manages a pool of processes. It would be responsible for launching, monitoring, and killing processes in the pool. It seems that this could easily be implemented as an OS X StartupItem. But I'm looking for some guidelines as to when to use StartupItems v.s. a daemon process. Can anyone give me some feedback or point me at a document?


In fact you need both: a daemon and a Startupitem;
StarupItems are just a fancy way of starting daemons, much like the startup scripts in /etc/rc.d/ or /etc/init.d/ in Linux


Just take a look at the StartupItems Apple ships with OS-X (e. g. Apache) in /System/Library/StartupItems/


cheers,

Markus

---
Markus W. Weissmann
http://www.mweissmann.de/
http://www.opendarwin.org/~mww/

Attachment: PGP.sig
Description: This is a digitally signed message part

 _______________________________________________
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: 
 >OS X StartupItems v.s. BSD daemon... (From: Michael Burbidge <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.