Ian Bicking: the old part of his blog

Re: Daemon Best Practices

Here's how Twisted does it: http://svn.twistedmatrix.com/cvs/trunk/twisted/scripts/twistd.py?view=markup

Comment on Daemon Best Practices
by Nicola Larosa


twistd's approach is pretty correct as far as POSIX-ness and such goes (I believe), but it's a bit of a mess in terms of internal factoring. If you have ideas about how to improve it so it would be more re-usable please feel free to complain.

# Glyph Lefkowitz