summaryrefslogtreecommitdiff
path: root/app-admin/consul/files/consul.initd
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:56:41 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:56:41 +0100
commitd87262dd706fec50cd150aab3e93883b6337466d (patch)
tree246b44c33ad7a57550430b0a60fa0df86a3c9e68 /app-admin/consul/files/consul.initd
parent71bc00c87bba1ce31de0dac6c3b7fd1aee6917fc (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'app-admin/consul/files/consul.initd')
-rw-r--r--app-admin/consul/files/consul.initd27
1 files changed, 0 insertions, 27 deletions
diff --git a/app-admin/consul/files/consul.initd b/app-admin/consul/files/consul.initd
deleted file mode 100644
index b36db8aef13c..000000000000
--- a/app-admin/consul/files/consul.initd
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 2015-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-description="consul agent"
-extra_started_commands="reload"
-export GOMAXPROCS=${GOMAXPROCS:-2}
-group=${group:-${RC_SVCNAME}}
-user=${user:-${RC_SVCNAME}}
-pidfile=${pidfile:-"/run/${RC_SVCNAME}.pid"}
-command="/usr/bin/${RC_SVCNAME}"
-command_args="agent ${command_args:-config-dir=/etc/consul.d}"
-command_background="true"
-start_stop_daemon_args="--user ${user} --group ${group} \
- --stdout /var/log/${RC_SVCNAME}/${RC_SVCNAME}.log \
- --stderr /var/log/${RC_SVCNAME}/${RC_SVCNAME}.log"
-stopsig="SIGINT"
-
-depend() {
- need net
-}
-
-reload() {
- ebegin "Reloading ${RC_SVCNAME}"
- ${command} reload
- eend $?
-}