From 1a387b4b2ccd0574993d07a6de8f99f6fa21f9b2 Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Fri, 9 Dec 2016 20:18:38 +0100 Subject: [PATCH] make-pidfile --- init.d/gnt-monitor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.d/gnt-monitor b/init.d/gnt-monitor index 707f1d1..baddadc 100755 --- a/init.d/gnt-monitor +++ b/init.d/gnt-monitor @@ -56,7 +56,7 @@ do_start() # 2 if daemon could not be started #start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --test > /dev/null \ # || return 1 - start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --background -- \ + start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --background --make-pidfile -- \ $DAEMON_ARGS \ || return 2 # Add code here, if necessary, that waits for the process to be ready -- 2.20.1