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:
parent
c9b1ba6754
commit
9f5d36b007
@ -72,9 +72,6 @@ do_start()
|
||||
do_stop()
|
||||
{
|
||||
$DAEMON stop
|
||||
if [ -f "$PIDFILE" ] ; then
|
||||
rm -f $PIDFILE
|
||||
fi
|
||||
return 0
|
||||
}
|
||||
|
||||
|
@ -67,7 +67,6 @@ do_start()
|
||||
do_stop()
|
||||
{
|
||||
$DAEMON stop
|
||||
rm -f /var/run/$NAME/*
|
||||
return 0
|
||||
}
|
||||
|
||||
|
@ -67,7 +67,6 @@ do_start()
|
||||
do_stop()
|
||||
{
|
||||
$DAEMON stop
|
||||
rm -f /var/run/$NAME/*
|
||||
return 0
|
||||
}
|
||||
|
||||
|
@ -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"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user