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 <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2017-08-17 13:58:31 -04:00
parent a7ef39c2c0
commit 416e683a43
1 changed files with 1 additions and 0 deletions

View File

@ -67,6 +67,7 @@ do_start()
do_stop()
{
$DAEMON stop
rm -f /var/run/$NAME/*
return 0
}