From 416e683a432c06a0f4e0c70241fcf62c16ba8cfb Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Thu, 17 Aug 2017 13:58:31 -0400 Subject: [PATCH] Remove zuul-executor pid file on stop Otherwise this is leaked and we are not able to start zuul-executor again. Change-Id: I3639a74af67bfa07ad1814b7d0bc5a995e4ef14a Signed-off-by: Paul Belanger --- files/zuul-executor.init | 1 + 1 file changed, 1 insertion(+) diff --git a/files/zuul-executor.init b/files/zuul-executor.init index 249c85e..9a18bbd 100644 --- a/files/zuul-executor.init +++ b/files/zuul-executor.init @@ -67,6 +67,7 @@ do_start() do_stop() { $DAEMON stop + rm -f /var/run/$NAME/* return 0 }