]> kaliko git repositories - python-daemon.git/blob - doc/README
Some cleanup and documentation
[python-daemon.git] / doc / README
1 python-daemon is a pretty simple object named Daemon used to daemonize a process.
2
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.
5
6 You can override the shutdown method which is called on Daemon stop (either via
7 the stop method or on SIGTERM).
8
9 Cf. examples for code snippet.
10
11
12 FEATURES:
13         * redirects stderr|stdout to file
14         * writes a pid file
15         * transparently deletes the pid file at stop
16         * catch SIGTERM and handles a clean stop via shutdown method