This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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

Release History

Release History

This version
History Node

1.1.1

History Node

1.1.0

History Node

1.0.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
mattdaemon-1.1.1.tar.gz (4.8 kB) Copy SHA256 Checksum SHA256 Source Feb 1, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting