Re:YapDi - Yet another python Daemon implementation
by jemfinch on Sunday December 04, 2011 @02:43AM
(#3310149)
Daemonization is really something that ought to be done outside the process being daemonized, a la supervisord or (if you prefer Python) something like my own project, finitd[0]. Unless you have something you must do as root before dropping privileges, leave daemonization to a separate, purpose-built program like these. It's the UNIX way.
[0] https://github.com/jemfinch/finitd