def __init__(self, HOST, PORT, pidfile, stdout='/dev/null', stderr='/dev/null'): self.host = HOST self.port = PORT Daemon.__init__(self, pidfile, stdout=stdout, stderr=stderr)
def stop(self): print('Stopping server') Daemon.stop(self)
def __init__(self, HOST, PORT, pidfile, stdout = '/dev/null', stderr = '/dev/null'): self.host = HOST self.port = PORT Daemon.__init__(self, pidfile, stdout=stdout, stderr=stderr)