Skip to main content

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>

Release files for python-seth 0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for python-seth 0.6
File Size Uploaded
python-seth-0.6.tar.gz 16.1 kB Details

Release files / python-seth-0.6.tar.gz

Download URL python-seth-0.6.tar.gz
Size 16.1 kB
Tags Source
SHA-256 checksum
How to use checksums
9d9b9c2b337808cbadefde894ca3354ccc8675d7810a5879fd5527c644beaafd
BLAKE2b-256 checksum
How to use checksums
df802fd565f284447353a506a08070f9836a768fb8f96247f0aa86506d4b39be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.6 This release

1 release file

0.5

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page