diff options
author | Steve Wills <swills@FreeBSD.org> | 2017-09-17 01:34:38 +0000 |
---|---|---|
committer | Steve Wills <swills@FreeBSD.org> | 2017-09-17 01:34:38 +0000 |
commit | 81d65e5276376fce05f11396e1762bad0f31f22c (patch) | |
tree | 717c5c37f73e1d08fc40eb7630e639d861cf5b5c /devel/gitlab-runner/files/gitlab_runner.in | |
parent | textproc/augeas: update to 1.8.1 (diff) |
devel/gitlab-runner: update to 9.5.0 [0]
While here, add patch to enable syslog logging and enable it in rc script [1]
PR: 221769 [1]
Submitted by: Ben RUBSON <ben.rubson@gmail.com> [1]
Diffstat (limited to 'devel/gitlab-runner/files/gitlab_runner.in')
-rw-r--r-- | devel/gitlab-runner/files/gitlab_runner.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/devel/gitlab-runner/files/gitlab_runner.in b/devel/gitlab-runner/files/gitlab_runner.in index 9d556fea1aea..14d040e24498 100644 --- a/devel/gitlab-runner/files/gitlab_runner.in +++ b/devel/gitlab-runner/files/gitlab_runner.in @@ -14,6 +14,8 @@ # Set it to user to run gitlab_runner under # gitlab_runner_group (str): Set to "gitlab-runner" by default. # Set it to group to run gitlab-runner under +# gitlab_runner_syslogtag (str):Set to "gitlab-runner" by default. +# Set it to tag to be used by syslog # . /etc/rc.subr @@ -27,13 +29,14 @@ load_rc_config $name : ${gitlab_runner_dir:="/var/tmp/gitlab_runner"} : ${gitlab_runner_user:="gitlab-runner"} : ${gitlab_runner_group:="gitlab-runner"} +: ${gitlab_runner_syslogtag:="gitlab-runner"} export HOME=${gitlab_runner_dir} export PATH=${PATH}:%%PREFIX%%/bin pidfile="/var/run/${name}.pid" command="/usr/sbin/daemon" -command_args="-f -p ${pidfile} %%PREFIX%%/bin/gitlab-runner run" +command_args="-f -p ${pidfile} %%PREFIX%%/bin/gitlab-runner run --syslog --service ${gitlab_runner_syslogtag}" gitlab_runner_chdir="${gitlab_runner_dir}" procname=%%PREFIX%%/bin/gitlab-runner |