From: Elan Ruusamäe Date: Wed, 20 Mar 2019 17:42:23 +0000 (+0200) Subject: start-stop-daemon --background discards output; use shell backgrounding X-Git-Tag: auto/th/gitlab-runner-11.1.0-0.4~2 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fgitlab-runner.git;a=commitdiff_plain;h=6f5a828 start-stop-daemon --background discards output; use shell backgrounding --- diff --git a/gitlab-runner.init b/gitlab-runner.init index 0fad0e0..258efb3 100755 --- a/gitlab-runner.init +++ b/gitlab-runner.init @@ -25,10 +25,9 @@ do_start() { start-stop-daemon --start \ --pidfile "$PIDFILE" \ --chdir "$CHDIR" \ - --background \ --make-pidfile \ --chuid "$USER:$GROUP" \ - --exec "$DAEMON" -- "run" >> $LOGFILE 2>&1 + --exec "$DAEMON" -- "run" >> $LOGFILE 2>&1 & } do_stop() {