Unix tools

Unix tools package contains handy scripts to make your Unix Python programs fancier.

fragapy.unix.deamonize.Daemon(pidfile, stdin='/dev/null', stdout='/dev/null', stderr='/dev/null')

A generic daemon class. Subclasses will daemonize themselves after running

Usage: subclass the Daemon class and override the run() method

Daemonized class keeps it’s PID file to make sure it is not run multiple times and to make sure it knows which process to kill when calling stop().

Previous topic

Static sitemaps

Next topic

Versioning

This Page