remove extra --background in stop which is not needed
authorDobrica Pavlinusic <dpavlin@rot13.org>
Fri, 9 Dec 2016 09:41:39 +0000 (10:41 +0100)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Fri, 9 Dec 2016 09:41:39 +0000 (10:41 +0100)
init.d/gnt-monitor

index 6a7a827..707f1d1 100755 (executable)
@@ -74,7 +74,7 @@ do_stop()
        #   1 if daemon was already stopped
        #   2 if daemon could not be stopped
        #   other if a failure occurred
-       start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE --name $NAME --background
+       start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE --name $NAME
        RETVAL="$?"
        [ "$RETVAL" = 2 ] && return 2
        # Wait for children to finish too if this is a daemon that forks