Home | History | Annotate | Download | only in server

Lines Matching refs:Daemon

19 class Daemon(object):
21 A generic daemon class.
23 Usage: subclass the Daemon class and override the run() method
83 Start the daemon
85 # Check for a pidfile to see if the daemon already runs
94 message = "pidfile %s already exist. Daemon already running?\n"
98 # Start the daemon
104 Stop the daemon
115 message = "pidfile %s does not exist. Daemon not running?\n"
119 # Try killing the daemon process
138 Restart the daemon
145 You should override this method when you subclass Daemon. It will be