Package ZenUtils :: Module ZenDaemon :: Class ZenDaemon
[hide private]
[frames] | no frames]

Class ZenDaemon

source code

CmdBase.CmdBase --+
                  |
                 ZenDaemon
Known Subclasses:
ZCmdBase.ZCmdBase, ZeoPoolBase.ZeoPoolBase

Instance Methods [hide private]
 
__init__(self, noopts=0, keeproot=False) source code
 
setupLogging(self) source code
 
changeUser(self) source code
 
becomeDaemon(self)
Code below comes from the excelent recipe by Chad J.
source code
 
sigTerm(self, *unused) source code
 
buildOptions(self)
basic options setup sub classes can add more options here
source code

Inherited from CmdBase.CmdBase: buildParser, generate_configs, generate_xml_table, parseOptions, pretty_print_config_comment

Class Variables [hide private]
  pidfile = None

Inherited from CmdBase.CmdBase: doesLogging

Method Details [hide private]

__init__(self, noopts=0, keeproot=False)
(Constructor)

source code 
Overrides: CmdBase.CmdBase.__init__

setupLogging(self)

source code 
Overrides: CmdBase.CmdBase.setupLogging

becomeDaemon(self)

source code 
Code below comes from the excelent recipe by Chad J. Schroeder.

buildOptions(self)

source code 
basic options setup sub classes can add more options here
Overrides: CmdBase.CmdBase.buildOptions
(inherited documentation)