aboutsummaryrefslogtreecommitdiffstats
path: root/community/gitlab-runner/gitlab-runner.initd
diff options
context:
space:
mode:
authorKevin Daudt <kdaudt@alpinelinux.org>2019-08-20 16:27:08 +0000
committerKevin Daudt <kdaudt@alpinelinux.org>2019-08-20 16:27:17 +0000
commit8964bea8df421bfa5f13ed576159e3af6223f81f (patch)
tree2523eb9c334840152e98114fdeff07c6ee170d2d /community/gitlab-runner/gitlab-runner.initd
parentba4b80258f4bfb90da9667a29d3e2ebe7849d0c1 (diff)
downloadaports-8964bea8df421bfa5f13ed576159e3af6223f81f.tar.gz
aports-8964bea8df421bfa5f13ed576159e3af6223f81f.tar.bz2
aports-8964bea8df421bfa5f13ed576159e3af6223f81f.tar.xz
community/gitlab-runner: move from testing
Diffstat (limited to 'community/gitlab-runner/gitlab-runner.initd')
-rw-r--r--community/gitlab-runner/gitlab-runner.initd14
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
+}