|
__init__(self,
noopts=0,
keeproot=False)
Initializer that takes care of basic daemon options. |
source code
|
|
|
openPrivilegedPort(self,
*address)
Execute under zensocket, providing the args to zensocket |
source code
|
|
|
writePidFile(self)
Write the PID file to disk |
source code
|
|
|
|
|
sighandler_USR1(self,
signum,
frame)
Switch to debug level if signaled by the user, and to default when
signaled again. |
source code
|
|
|
changeUser(self)
Switch identity to the appropriate Unix user |
source code
|
|
|
|
|
sigTerm(self,
signum=None,
frame=None)
Signal handler for the SIGTERM signal. |
source code
|
|
integer
|
|
integer
|
|
integer
|
|
|
becomeWatchdog(self)
Watch the specified daemon and restart it if necessary. |
source code
|
|
|
|
|
|
Inherited from CmdBase.CmdBase :
buildParser ,
checkLogpath ,
generate_configs ,
generate_xml_configs ,
generate_xml_table ,
getConfigFileDefaults ,
parseOptions ,
pretty_print_config_comment
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__str__
|