diff options
Diffstat (limited to 'community/gitlab-runner/gitlab-runner.initd')
| -rw-r--r-- | community/gitlab-runner/gitlab-runner.initd | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/community/gitlab-runner/gitlab-runner.initd b/community/gitlab-runner/gitlab-runner.initd new file mode 100644 index 0000000000..f0659a7ad3 --- /dev/null +++ b/community/gitlab-runner/gitlab-runner.initd @@ -0,0 +1,14 @@ +#!/sbin/openrc-run + +supervisor=supervise-daemon + +description="GitLab CI Runner" +name="Gitlab Runner" + +command="/usr/bin/gitlab-runner" +command_args="run ${GITLAB_RUNNER_OPTS}" +command_user="${GITLAB_RUNNER_USER}:${GITLAB_RUNNER_GROUP}" + +depend() { + need net +} |
