From 013b7e3788f6931153d083a87f4b5e1349ebc972 Mon Sep 17 00:00:00 2001 From: bnewbold Date: Sun, 23 Dec 2012 20:38:17 +0100 Subject: small tweaks --- code/templates/initV | 3 +++ 1 file changed, 3 insertions(+) (limited to 'code/templates/initV') diff --git a/code/templates/initV b/code/templates/initV index 4d98290..8a1ddd6 100755 --- a/code/templates/initV +++ b/code/templates/initV @@ -49,6 +49,9 @@ do_start() # 0 if daemon has been started # 1 if daemon was already running # 2 if daemon could not be started + + # NOTE: may need to add --background here and just below if $DAEMON doesn't + # fork/detatch on it's own start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --test > /dev/null \ || return 1 start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- \ -- cgit v1.2.3