You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-metrics/dnsmasq_exporter/files/dnsmasq_exporter.initd

16 lines
450 B

#!/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
}