Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Python Daemon library

Project description

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>

Project details


Release history Release notifications

This version
History Node

0.6

History Node

0.5

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
python-seth-0.6.tar.gz (16.1 kB) Copy SHA256 hash SHA256 Source None Dec 1, 2012

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page