summaryrefslogtreecommitdiff
path: root/user/gitlab-runner/gitlab-runner.initd
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2020-06-17 19:19:28 -0500
committerMax Rees <maxcrees@me.com>2020-06-17 19:19:28 -0500
commitc4d87ab64fb1a3a1a89e6e0cb8d4b7291e511c1d (patch)
tree5391d2c065eaef64abbcf8d2343c88bc701fc6a0 /user/gitlab-runner/gitlab-runner.initd
parentafd6ccac403907ab6037ff20fb8431575381f601 (diff)
downloadpackages-c4d87ab64fb1a3a1a89e6e0cb8d4b7291e511c1d.tar.gz
packages-c4d87ab64fb1a3a1a89e6e0cb8d4b7291e511c1d.tar.bz2
packages-c4d87ab64fb1a3a1a89e6e0cb8d4b7291e511c1d.tar.xz
packages-c4d87ab64fb1a3a1a89e6e0cb8d4b7291e511c1d.zip
user/gitlab-runner: set default --working-directory in service
Diffstat (limited to 'user/gitlab-runner/gitlab-runner.initd')
-rw-r--r--user/gitlab-runner/gitlab-runner.initd1
1 files changed, 1 insertions, 0 deletions
diff --git a/user/gitlab-runner/gitlab-runner.initd b/user/gitlab-runner/gitlab-runner.initd
index 1fc47410c..a5f65dacb 100644
--- a/user/gitlab-runner/gitlab-runner.initd
+++ b/user/gitlab-runner/gitlab-runner.initd
@@ -1,6 +1,7 @@
#!/sbin/openrc-run
: "${CONFIG_FILE:=/etc/gitlab-runner/config.toml}"
+: "${command_args:=--working-directory /var/lib/gitlab-runner}"
: "${logfile:=/var/log/gitlab-runner.log}"
: "${timeout:=300}"
: "${retry:=60}"