Skip to main content

Easily daemonize your python projects

Project description

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

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!

Author

Project details


Download files

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

Source Distribution

mattdaemon-1.1.1.tar.gz (4.8 kB view details)

Uploaded Source

File details

Details for the file mattdaemon-1.1.1.tar.gz.

File metadata

  • Download URL: mattdaemon-1.1.1.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for mattdaemon-1.1.1.tar.gz
Algorithm Hash digest
SHA256 d69d7ec79e1c8b3847f3d6db723e82bf078924d8a0d3aa30572cdf58350fb04f
MD5 2c92af2afd1046ab780a0c40e5933dca
BLAKE2b-256 59575e12cf19a50fe707a8772edce076528d57d0475f22f935e85a41870dd611

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page