From 3f0ac83fd452e071c2cbcecf8c9b3ee9fa323126 Mon Sep 17 00:00:00 2001 From: godog <godog@autistici.org> Date: Sun, 15 Jun 2014 17:10:51 +0100 Subject: [PATCH] fix init script --- debian/ai-auth-server.init | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/debian/ai-auth-server.init b/debian/ai-auth-server.init index 4f28f6a..c0daff2 100644 --- a/debian/ai-auth-server.init +++ b/debian/ai-auth-server.init @@ -51,14 +51,11 @@ do_start() # 0 if daemon has been started # 1 if daemon was already running # 2 if daemon could not be started - pre_start - - start-stop-daemon --start --quiet --background --make-pidfile --pidfile $PIDFILE - --chuid $USER:$GROUP --umask 007 --exec $DAEMON --test > /dev/null \ + start-stop-daemon --start --quiet --background --make-pidfile --pidfile $PIDFILE \ + --chuid $USER:$GROUP --umask 007 --exec $DAEMON --test > /dev/null \ || return 1 - start-stop-daemon --start --quiet --background --make-pidfile --pidfile $PIDFILE - --chuid $USER:$GROUP --umask 007 --exec $DAEMON -- \ - --syslog $DAEMON_ARGS \ + start-stop-daemon --start --quiet --background --make-pidfile --pidfile $PIDFILE \ + --chuid $USER:$GROUP --umask 007 --exec $DAEMON -- $DAEMON_ARGS \ || return 2 # Add code here, if necessary, that waits for the process to be ready # to handle requests from services started subsequently which depend -- GitLab