Coder Social home page Coder Social logo

mattdaemon's Introduction

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

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

mattdaemon's People

Contributors

sysr-q avatar

Stargazers

Arno Veenstra avatar Dustin Falgout avatar KokaKiwi avatar Diogo Leal avatar Michael C avatar Ethan Madden avatar Adam Griffiths avatar Joe avatar Ricardo J. Barberis avatar Jairo Trad avatar giulius84 avatar Pavel Krõlov avatar Bloo Alien avatar

Watchers

James Cloos avatar  avatar giulius84 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.