| 1 | # Configuration for /etc/init.d/gitlab-runner |
| 2 | |
| 3 | # Path to the config file (--config). |
| 4 | #cfgfile="/etc/gitlab-runner/config.toml" |
| 5 | |
| 6 | # Path to the working directory (--working-directory). |
| 7 | #datadir="/var/lib/gitlab-runner" |
| 8 | |
| 9 | # The log format: "runner", "text", "json", or "syslog". Defaults to "syslog" |
| 10 | # if log_syslog=yes, otherwise "text". If you prefer to set this in the runner |
| 11 | # config, set to an empty string. |
| 12 | #log_format= |
| 13 | |
| 14 | # Whether to log to system service logger. If disabled, stderr will be |
| 15 | # redirected to $error_log file. |
| 16 | log_syslog=yes |
| 17 | |
| 18 | # Path to the logging file where stderr will be redirected. Defaults to |
| 19 | # /var/log/gitlab-runner.log if log_syslog=no, otherwise disabled. |
| 20 | #error_log="/var/log/gitlab-runner.log" |
| 21 | |
| 22 | # Extra options passed to 'gitlab-runner run'. |
| 23 | #command_args= |
| 24 | |
| 25 | # Change to root if you want to run a system instance instead of a user one. |
| 26 | #command_user="gitlab-runner" |
| 27 | |
| 28 | # Comment out to run without process supervisor. |
| 29 | supervisor=supervise-daemon |