diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-04-28 09:54:45 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-04-28 09:54:45 +0100 |
commit | b7ebc951da8800f711142f69d9d958bde67a112d (patch) | |
tree | e318514216845acb8f2e49fff7a5cba4027e9d91 /app-metrics/consul_exporter/files/consul_exporter.initd | |
parent | dc7cbdfa65fd814b3b9aa3c56257da201109e807 (diff) |
gentoo resync : 28.04.2019
Diffstat (limited to 'app-metrics/consul_exporter/files/consul_exporter.initd')
-rw-r--r-- | app-metrics/consul_exporter/files/consul_exporter.initd | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/app-metrics/consul_exporter/files/consul_exporter.initd b/app-metrics/consul_exporter/files/consul_exporter.initd new file mode 100644 index 000000000000..dbbbfa9c2479 --- /dev/null +++ b/app-metrics/consul_exporter/files/consul_exporter.initd @@ -0,0 +1,15 @@ +#!/sbin/openrc-run +# Copyright 2016-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +description="Consul Exporter for Prometheus" +command="/usr/bin/consul_exporter" +command_background=true +command_user="${RC_SVCNAME}:${RC_SVCNAME}" +error_log=/var/log/consul_exporter/${RC_SVCNAME}.log +output_log=/var/log/consul_exporter/${RC_SVCNAME}.log +pidfile=/var/run/${RC_SVCNAME}.pid + +depend() { + after consul net +} |