commit 6f5a8286e0c614212d2c9c83e8c0997168ba636a
Author: Elan Ruusamäe <[email protected]>
Date: Wed Mar 20 19:42:23 2019 +0200
start-stop-daemon --background discards output; use shell backgrounding
gitlab-runner.init | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
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() {
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gitlab-runner.git/commitdiff/6f5a8286e0c614212d2c9c83e8c0997168ba636a
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit