aboutsummaryrefslogtreecommitdiffstats
path: root/community/gitlab-runner/gitlab-runner.confd
diff options
context:
space:
mode:
Diffstat (limited to 'community/gitlab-runner/gitlab-runner.confd')
-rw-r--r--community/gitlab-runner/gitlab-runner.confd34
1 files changed, 28 insertions, 6 deletions
diff --git a/community/gitlab-runner/gitlab-runner.confd b/community/gitlab-runner/gitlab-runner.confd
index 98c3f285de2..107ad55f279 100644
--- a/community/gitlab-runner/gitlab-runner.confd
+++ b/community/gitlab-runner/gitlab-runner.confd
@@ -1,7 +1,29 @@
-# Extra options passed to 'gitlab-runner run'
-GITLAB_RUNNER_OPTS="--config /etc/gitlab-runner/config.toml --working-directory /var/lib/gitlab-runner --service gitlab-runner"
+# Configuration for /etc/init.d/gitlab-runner
-# Change to root if you want to run a system instance instead of a user one
-GITLAB_RUNNER_USER="gitlab-runner"
-# Same as above
-GITLAB_RUNNER_GROUP="gitlab-runner"
+# Path to the config file (--config).
+#cfgfile="/etc/gitlab-runner/config.toml"
+
+# Path to the working directory (--working-directory).
+#datadir="/var/lib/gitlab-runner"
+
+# The log format: "runner", "text", "json", or "syslog". Defaults to "syslog"
+# if log_syslog=yes, otherwise "text". If you prefer to set this in the runner
+# config, set to an empty string.
+#log_format=
+
+# Whether to log to system service logger. If disabled, stderr will be
+# redirected to $error_log file.
+log_syslog=yes
+
+# Path to the logging file where stderr will be redirected. Defaults to
+# /var/log/gitlab-runner.log if log_syslog=no, otherwise disabled.
+#error_log="/var/log/gitlab-runner.log"
+
+# Extra options passed to 'gitlab-runner run'.
+#command_args=
+
+# Change to root if you want to run a system instance instead of a user one.
+#command_user="gitlab-runner"
+
+# Comment out to run without process supervisor.
+supervisor=supervise-daemon