diff options
Diffstat (limited to 'dev-util/gitlab-runner/files/gitlab-runner.initd')
| -rw-r--r-- | dev-util/gitlab-runner/files/gitlab-runner.initd | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/dev-util/gitlab-runner/files/gitlab-runner.initd b/dev-util/gitlab-runner/files/gitlab-runner.initd new file mode 100644 index 000000000000..70f6a02edfd1 --- /dev/null +++ b/dev-util/gitlab-runner/files/gitlab-runner.initd @@ -0,0 +1,15 @@ +#!/sbin/openrc-run +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +command="/usr/bin/gitlab-runner" +command_args="run ${RUNNER_OPTS}" +command_background="yes" +command_user="${USER:-runner}:${GROUP:-gitlab}" +description="GitLab Runner" +name="Gitlab Runner" +pidfile="/run/gitlab-runner/${RC_SVCNAME}.pid" + +depend() { + need net +} |
