skip to navigation
skip to content

Not Logged In

python-seth 0.6

Python Daemon library

python-seth is a pretty simple object named Daemon used to daemonize a process.

To do so subclass the Daemon object and override its run method with the code you want to turn into a unix daemon.

You can override the shutdown method which is called on Daemon stop (either via the stop method or on SIGTERM).

Cf. examples for code snippet.

FEATURES:
  • redirects stderr|stdout to file
  • writes a pid file
  • transparently deletes the pid file at stop
  • catch SIGTERM and handles a clean stop via shutdown method
UPSTREAM:
Code maintained at http://git.kaliko.me/?p=python-seth.git Please send feedback at <kaliko@azylum.org>
 
File Type Py Version Uploaded on Size
python-seth-0.6.tar.gz (md5, pgp) Source 2012-12-01 15KB
  • Downloads (All Versions):
  • 4 downloads in the last day
  • 48 downloads in the last week
  • 258 downloads in the last month