stdout : standard output file descriptor (default to /dev/null)
stderr : standard error file descriptorr (default to /dev/null)
"""
- version = '0.5'
+ version = '0.6'
def __init__(self, pidfile,
stdin = os.devnull,
"""
Stop the daemon
"""
- # Get the pid from the pidopen
+ # Get the pid from the pidfile
try:
pf = open(self.pidfile, 'r')
pid = int(pf.read().strip())