[MTOS-dev] Daemonizing a process?
Mark Paschal
mark at sixapart.com
Thu Jan 17 20:58:46 PST 2008
Byrne Reese wrote:
> Does anyone know how I can bootstrap publish queue with a daemon monitoring
> service or tool? Doesn't linux have some way that I can allow for the
> process to be restarted if for some reason it dies?
I've heard that D.J. Bernstein's daemontools is good (and bad) for
managing long running processes:
http://cr.yp.to/daemontools.html
Its FAQ reminds me that init(8), Keeper of the Runlevels, is the
regular UNIX way. Apparently processes in inittab can be set to be
restarted when they die, which I did not know.
Mark Paschal
Software developer, Movable Type
mark at sixapart.com
More information about the MTOS-dev
mailing list