1 python-daemon is a pretty simple object named Daemon used to daemonize a process.
3 To do so subclass the Daemon object and override its run method with the code
4 you want to turn into a unix daemon.
6 You can override the shutdown method which is called on Daemon stop (either via
7 the stop method or on SIGTERM).
9 Cf. examples for code snippet.
13 * redirects stderr|stdout to file
15 * transparently deletes the pid file at stop
16 * catch SIGTERM and handles a clean stop via shutdown method
19 Code maintained at http://git.kaliko.me/?p=python-daemon.git
20 Please send feedback at <kaliko@azylum.org>