summaryrefslogtreecommitdiff
path: root/app-admin/consul-template/files
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-template/files
parent71bc00c87bba1ce31de0dac6c3b7fd1aee6917fc (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'app-admin/consul-template/files')
-rw-r--r--app-admin/consul-template/files/consul-template.confd7
-rw-r--r--app-admin/consul-template/files/consul-template.initd20
-rw-r--r--app-admin/consul-template/files/consul-template.logrotated7
-rw-r--r--app-admin/consul-template/files/consul-template.service16
4 files changed, 0 insertions, 50 deletions
diff --git a/app-admin/consul-template/files/consul-template.confd b/app-admin/consul-template/files/consul-template.confd
deleted file mode 100644
index 9af7d023305e..000000000000
--- a/app-admin/consul-template/files/consul-template.confd
+++ /dev/null
@@ -1,7 +0,0 @@
-# you can change the init script behavior by setting those parameters
-# - group (default: consul-template)
-# - pidfile (default: /run/consul-template/consul-template.pid)
-# - user (default: consul-template)
-
-# extra arguments for the consul agent
-command_args="-config=/etc/consul-template.d"
diff --git a/app-admin/consul-template/files/consul-template.initd b/app-admin/consul-template/files/consul-template.initd
deleted file mode 100644
index f968d8d08612..000000000000
--- a/app-admin/consul-template/files/consul-template.initd
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 2015-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-description="consul-template agent"
-user=${user:-${RC_SVCNAME}}
-group=${group:-${RC_SVCNAME}}
-pidfile=${pidfile:-"/run/${RC_SVCNAME}.pid"}
-
-command="/usr/bin/${RC_SVCNAME}"
-command_args="-config=/etc/consul-template.d ${command_args}"
-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
-}
diff --git a/app-admin/consul-template/files/consul-template.logrotated b/app-admin/consul-template/files/consul-template.logrotated
deleted file mode 100644
index 51e2737fd491..000000000000
--- a/app-admin/consul-template/files/consul-template.logrotated
+++ /dev/null
@@ -1,7 +0,0 @@
-/var/log/consul-template/consul-template.log {
- missingok
- size 5M
- rotate 3
- compress
- copytruncate
-}
diff --git a/app-admin/consul-template/files/consul-template.service b/app-admin/consul-template/files/consul-template.service
deleted file mode 100644
index 69b1c86ddb46..000000000000
--- a/app-admin/consul-template/files/consul-template.service
+++ /dev/null
@@ -1,16 +0,0 @@
-[Unit]
-Description=consul-template daemon
-Requires=network-online.target
-After=network-online.target
-
-[Service]
-User=consul-template
-Environment=CONSUL_TEMPLATE_DAEMON_OPTS="-config=/etc/consul-template.d"
-ExecStart=/usr/bin/consul-template $CONSUL_TEMPLATE_DAEMON_OPTS
-Restart=on-failure
-SuccessExitStatus=12
-KillSignal=SIGINT
-ExecReload=/bin/kill -HUP $MAINPID
-
-[Install]
-WantedBy=default.target