]> git.pld-linux.org Git - packages/gitlab-runner.git/commitdiff
start-stop-daemon --background discards output; use shell backgrounding
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 20 Mar 2019 17:42:23 +0000 (19:42 +0200)
committerElan Ruusamäe <glen@pld-linux.org>
Wed, 20 Mar 2019 17:42:23 +0000 (19:42 +0200)
gitlab-runner.init

index 0fad0e0b642c360f610bd5c1ed645359219110e2..258efb3b36662c6ce3a1421e8aa70892d25b388a 100755 (executable)
@@ -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() {
This page took 0.060463 seconds and 4 git commands to generate.