From: Leandro Lucarella Date: Tue, 20 May 2008 04:11:57 +0000 (-0300) Subject: procman.ProcessManager.restart(p) call start(p) when p was not running. X-Git-Url: https://git.llucax.com/software/pymin.git/commitdiff_plain/0be984fe4fcec7cd0304ea90a06985918b4d789b?ds=sidebyside procman.ProcessManager.restart(p) call start(p) when p was not running. Otherwise, the namemap and pidmap are not updated. --- diff --git a/pymin/procman.py b/pymin/procman.py index 87e3282..c86a596 100644 --- a/pymin/procman.py +++ b/pymin/procman.py @@ -125,7 +125,7 @@ class ProcessManager: pi.process.wait() pi.restart() else: - self.services[name].start() + self.start(name) def kill(self, name, signum): log.debug(u'ProcessManager.kill(%s, %s)', name, signum)