diff options
author | William Hubbs <william.hubbs@sony.com> | 2019-10-23 12:33:43 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2019-10-23 12:34:36 -0500 |
commit | 9e80ba44814a08825c84d19bf3c79f84cdf0a635 (patch) | |
tree | d85898cb30733edb50e511824ab8c91c49b3ab91 /app-metrics/dnsmasq_exporter/files | |
parent | acct-user/dnsmasq_exporter: add uid 274 for app-metrics/dnsmasq_exporter (diff) | |
download | gentoo-9e80ba44814a08825c84d19bf3c79f84cdf0a635.tar.gz gentoo-9e80ba44814a08825c84d19bf3c79f84cdf0a635.tar.bz2 gentoo-9e80ba44814a08825c84d19bf3c79f84cdf0a635.zip |
app-metrics/dnsmasq_exporter: prometheus exporter for dnsmasq
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'app-metrics/dnsmasq_exporter/files')
-rw-r--r-- | app-metrics/dnsmasq_exporter/files/dnsmasq_exporter.confd | 3 | ||||
-rw-r--r-- | app-metrics/dnsmasq_exporter/files/dnsmasq_exporter.initd | 15 |
2 files changed, 18 insertions, 0 deletions
diff --git a/app-metrics/dnsmasq_exporter/files/dnsmasq_exporter.confd b/app-metrics/dnsmasq_exporter/files/dnsmasq_exporter.confd new file mode 100644 index 000000000000..f655cc32abfe --- /dev/null +++ b/app-metrics/dnsmasq_exporter/files/dnsmasq_exporter.confd @@ -0,0 +1,3 @@ +# Please set the flags you wish to pass to dnsmasq_exporter in +# command_args +# command_args="" diff --git a/app-metrics/dnsmasq_exporter/files/dnsmasq_exporter.initd b/app-metrics/dnsmasq_exporter/files/dnsmasq_exporter.initd new file mode 100644 index 000000000000..7c600efdbbaf --- /dev/null +++ b/app-metrics/dnsmasq_exporter/files/dnsmasq_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="dnsmasq Exporter for Prometheus" +command="/usr/bin/dnsmasq_exporter" +command_background=true +command_user="${RC_SVCNAME}:${RC_SVCNAME}" +error_log=/var/log/dnsmasq_exporter/${RC_SVCNAME}.log +output_log=/var/log/dnsmasq_exporter/${RC_SVCNAME}.log +pidfile=/var/run/${RC_SVCNAME}.pid + +depend() { + after dnsmasq net +} |