Пример #1
0
def killYokadid(pidFile):
    """Kill Yokadi daemon
    @param pidFile: file where the pid of the daemon is stored
    """
    # reuse Daemon.stop() code
    daemon = Daemon(pidFile)
    daemon.stop()
Пример #2
0
def killYokadid(pidFile):
    """Kill Yokadi daemon
    @param pidFile: file where the pid of the daemon is stored
    """
    # reuse Daemon.stop() code
    daemon = Daemon(pidFile)
    daemon.stop()
Пример #3
0
 def __init__(self, options):
     Daemon.__init__(self,
                     options.pidFile,
                     stdout=options.logFile,
                     stderr=options.logFile)
     self.options = options
Пример #4
0
 def __init__(self, options):
     Daemon.__init__(self, options.pidFile, stdout=options.logFile, stderr=options.logFile)
     self.options = options