https://github.com/martinrusev/python-daemon
Daemonize anything ( Unix only )
https://github.com/martinrusev/python-daemon
Last synced: 30 days ago
JSON representation
Daemonize anything ( Unix only )
- Host: GitHub
- URL: https://github.com/martinrusev/python-daemon
- Owner: martinrusev
- License: mit
- Created: 2011-08-05T11:16:38.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2016-08-09T11:23:37.000Z (almost 9 years ago)
- Last Synced: 2025-04-12T11:16:08.318Z (30 days ago)
- Language: Python
- Homepage:
- Size: 8.79 KB
- Stars: 46
- Watchers: 6
- Forks: 18
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
=================
python-daemon
=================A simple python daemon which you can use to daemonize processes or
to create cron like tasks in python.===============
Installation
===============1. Download the tarball and run ``python setup.py install``
2. Copy the ``daemonexample.py`` to ``/etc/init.d`` and modify it to suite your needs
3. When you are done, make it an executable ``chmod +x /etc/init.d/daemonexample.py``.
=========
Usage
=========You can use it like any other UNIX daemon. On Linux
``invoke-rc.d daemonexample start|stop|restart``
And on MacOS
``python daemonexample.py start|stop|restart``
=================
Additional notes
=================Doesn't work well with ``virtualenv``
===============
Requirements
===============Python 2.5+