Ian Bicking: the old part of his blog

Re: Daemon Best Practices

Daemontools http://cr.yp.to/daemontools.html is a sure bet if you're on unix. Even if you don't like it, please provide an option that stops your program from forking and redirects it's logging to standard out - this way one can wrap in daemontools.

Comment on Daemon Best Practices

Comments:

runit is even nicer; same design, less djb weirdness: http://smarden.org/runit/

I actually tend to run things like twisted servers from under runit, using twistd's keep-in-foreground option and then letting runit do the daemonization...

# Nathaniel Smith