Stop deleting PIDFILE on stop

This is no longer needed as if zuul is properly configured, will
create / delete the pidfile directly.

Change-Id: I51e100a293411695a31d438b5450e52498df7800
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2018-07-27 17:22:37 -04:00
parent c9b1ba6754
commit 9f5d36b007
No known key found for this signature in database
GPG Key ID: 611A80832067AF38
4 changed files with 0 additions and 8 deletions

View File

@ -72,9 +72,6 @@ do_start()
do_stop()
{
$DAEMON stop
if [ -f "$PIDFILE" ] ; then
rm -f $PIDFILE
fi
return 0
}

View File

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

View File

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

View File

@ -78,9 +78,6 @@ do_stop()
start-stop-daemon --stop --signal 9 --pidfile $PIDFILE
RETVAL="$?"
[ "$RETVAL" = 2 ] && return 2
if [ -f "$PIDFILE" ] ; then
rm -f $PIDFILE
fi
return "$RETVAL"
}