no removepidfile

This commit is contained in:
Clint Armstrong
2015-07-23 15:10:59 -04:00
parent 985ea21f6e
commit 2fdea68e49

View File

@@ -48,7 +48,7 @@ case $1 in
if [ -e $PIDFILE ]; then
status_of_proc -p $PIDFILE $DAEMON "Stoppping the $NAME process" && status="0" || status="$?"
if [ "$status" = 0 ]; then
start-stop-daemon --stop --quiet --oknodo --remove-pidfile --pidfile $PIDFILE
start-stop-daemon --stop --quiet --oknodo --pidfile $PIDFILE
/bin/rm -rf $PIDFILE
fi
else