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>
Metadata
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| python-seth-0.6.tar.gz | 16.1 kB | Without provenance | Details for python-seth-0.6.tar.gz |
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 |
Security for python-seth 0.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.