aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gitlab-runner/gitlab-runner.initd
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2019-08-11 21:34:00 +0200
committerLeo <thinkabit.ukim@gmail.com>2019-08-11 18:08:26 -0300
commite1959f68d8b514ffd1f8702468c249704f4ca298 (patch)
tree7384f8e771f3e282a2a94c857b3c19522af2938c /testing/gitlab-runner/gitlab-runner.initd
parent14205276e50c4d1ad611ec07ad2f3a3825b486ba (diff)
downloadaports-e1959f68d8b514ffd1f8702468c249704f4ca298.tar.gz
aports-e1959f68d8b514ffd1f8702468c249704f4ca298.tar.bz2
aports-e1959f68d8b514ffd1f8702468c249704f4ca298.tar.xz
testing/gitlab-runner: upgrade to 12.1.0
* Add -openrc subpkg * Add gitlab-runner user * Cleanup
Diffstat (limited to 'testing/gitlab-runner/gitlab-runner.initd')
-rw-r--r--testing/gitlab-runner/gitlab-runner.initd14
1 files changed, 14 insertions, 0 deletions
diff --git a/testing/gitlab-runner/gitlab-runner.initd b/testing/gitlab-runner/gitlab-runner.initd
new file mode 100644
index 0000000000..f0659a7ad3
--- /dev/null
+++ b/testing/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
+}