示例#1
0
 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)
示例#2
0
 def stop(self):
     print('Stopping server')
     Daemon.stop(self)
示例#3
0
 def stop(self):
     print('Stopping server')
     Daemon.stop(self)
示例#4
0
 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)