diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-11-03 16:06:58 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-11-03 16:06:58 +0000 |
commit | bd4aeefe33e63f613512604e47bfca7b2187697d (patch) | |
tree | adb35b5a9a00ee7ea591ab0c987f70167c23b597 /app-metrics/dnsmasq_exporter/files | |
parent | 48ece6662cbd443015f5a57ae6d8cbdbd69ef37c (diff) |
gentoo resync : 03.11.2019
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 +} |