From 0be984fe4fcec7cd0304ea90a06985918b4d789b Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Tue, 20 May 2008 01:11:57 -0300 Subject: [PATCH] procman.ProcessManager.restart(p) call start(p) when p was not running. Otherwise, the namemap and pidmap are not updated. --- pymin/procman.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.43.0