Library to enable your code run as a daemon process on Unix-like systems.
Project description
Description
daemonize is a library for writing system daemons in Python. It was forked from daemonize.sourceforge.net.
Installation
You can install it from Python Package Index (PyPI) using $ pip install daemonize
Usage
import time
import daemonize
pid = “/tmp/test.pid”
- def main():
print “This is it! I will die in five seconds.” time.sleep(5)
daemonize.start(main, pid, debug=True)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
daemonize-1.1.tar.gz
(4.1 kB
view hashes)