mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
no removepidfile
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user