Package wtf :: Package opi :: Module daemon
[hide private]
[frames] | no frames]

Module daemon

source code

Here's the daemon handling implemented.


Author: André Malo

Classes [hide private]
  SignalError
Error while signalling another daemon process
  PidfileError
Something's wrong with the pidfile
  PidfileValidError
Pidfile already exists and is valid
  PidfileGarbageError
Pidfile contained garbage
  PidfileEmptyError
Pidfile was empty
  PidfileWarning
Warning category for pidfile issues
  SigTerm
SIGTERM received
  SigHup
SIGHUP received
  DaemonOPI
Implement daemonized application
  Runner
Runner logic, socket setup and that all
  DetachedRunner
Derived runner, which detaches itself from the terminal
  _DeferredStreamSetup
Finalizer for deferred setup streams
  Pidfile
PID file representation
Variables [hide private]
  __package__ = 'wtf.opi'