martinrusev / Python Daemon
Licence: mit
Daemonize anything ( Unix only )
Stars: ✭ 43
Programming Languages
python
139335 projects - #7 most used programming language
================= python-daemon
A simple python daemon which you can use to daemonize processes or to create cron like tasks in python.
=============== Installation
-
Download the tarball and run
python setup.py install
-
Copy the
daemonexample.py
to/etc/init.d
and modify it to suite your needs -
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+
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].