[Python-Dev] new module proposal: daemonize

Andrew Bennetts andrew-pythondev at puzzling.org
Thu Dec 11 19:16:26 EST 2003


On Thu, Dec 11, 2003 at 06:25:02PM -0500, Barry Warsaw wrote:
> On Thu, 2003-12-11 at 18:07, Guido van Rossum wrote:
> 
> > This (or something like it) looks like a useful addition.
> > 
> > I remember writing a much more elaborate version for Zope:
> > 
> > http://cvs.zope.org/Zope/lib/python/zdaemon/
> > 
> > (Ignore Daemon.py, which is the old Zope API for the same thing.)
> 
> I have something somewhat similar in mailman (although with lots of
> extra goo):
> 
> http://cvs.sourceforge.net/viewcvs.py/mailman/mailman/bin/mailmanctl?view=markup

...And Twisted has its own version of this stuff, too:

http://cvs.twistedmatrix.com/cvs/twisted/scripts/twistd.py?rev=1.65&content-type=text/vnd.viewcvs-markup

*And* there's even a cookbook recipe for it (with lots of debate about the
details):

http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/66012

I'm sure there are plenty of other projects that have reinvented this, too.
Having daemonization code in the standard library would be good.

-Andrew.




More information about the Python-Dev mailing list