mattdaemon
Need to daemonize your Python2.7 projects? Matt Daemon has you covered.
Features
superuser (root) enforcement. Your script either requires it or it doesn’t. You choose!
If these checks fail, the script will exit with a status of 1.
Uses the double-fork magic of UNIX to daemonize.
Dependencies
Python 2.7
Notes
This is designed for CLI scripts, because it decouples from the parent environment and all.
Includes annoying messages when you use root to run a script.
daemon.start() and daemon.stop() don’t print messages. You’ll have to decide what to print, if anything.
MIT Licensed code, so you’re free to do whatever you want with this. Sell it, steal it, improve it, anything at all!
Running / Usage
Add the script to your dependencies, it’s on pypi! (pip install mattdaemon)
Documentation is available on readthedocs, so check there for usage.
Contributing
If a feature you need is lacking, you know a better way to do something, or you just want to be nice and give out your stars, feel free to visit the mattdaemon git repo; it’s open source and MIT licensed!
Metadata
Release files for mattdaemon 1.1.1
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 | |
|---|---|---|---|---|
| mattdaemon-1.1.1.tar.gz | 4.8 kB | Without provenance | Details |
Release files / mattdaemon-1.1.1.tar.gz
| Download URL | mattdaemon-1.1.1.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d69d7ec79e1c8b3847f3d6db723e82bf078924d8a0d3aa30572cdf58350fb04f
|
|
BLAKE2b-256 checksum How to use checksums |
59575e12cf19a50fe707a8772edce076528d57d0475f22f935e85a41870dd611
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for mattdaemon 1.1.1
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.