daemon.py (via) Neat little Python module for daemonizing a process; handles logging and pid files out of the box.
Tagged daemon, daemonizing, logging, pid, python