himbeerecouch.daemon¶
Exceptions
-
class
himbeerecouch.daemon.
Daemon
(pidfile, stdout='/dev/null', stderr='/dev/null')[source]¶ A generic daemon class.
Usage: subclass the Daemon class and override the run() method
-
daemonize
()[source]¶ do the UNIX double-fork magic, see Stevens’ “Advanced Programming in the UNIX Environment” for details (ISBN 0201563177) http://www.erlenstar.demon.co.uk/unix/faq_2.html#SEC16
-