summaryrefslogtreecommitdiff
path: root/net-dns/dnsmasq/files/dnsmasq-init-r2
diff options
context:
space:
mode:
Diffstat (limited to 'net-dns/dnsmasq/files/dnsmasq-init-r2')
-rw-r--r--net-dns/dnsmasq/files/dnsmasq-init-r223
1 files changed, 0 insertions, 23 deletions
diff --git a/net-dns/dnsmasq/files/dnsmasq-init-r2 b/net-dns/dnsmasq/files/dnsmasq-init-r2
deleted file mode 100644
index ed487b9fd1bb..000000000000
--- a/net-dns/dnsmasq/files/dnsmasq-init-r2
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License, v2 or later
-
-extra_started_commands="reload"
-
-pidfile="/var/run/dnsmasq.pid"
-command="/usr/sbin/dnsmasq"
-command_args="-x ${pidfile} ${DNSMASQ_OPTS}"
-retry="TERM/3/TERM/5"
-
-depend() {
- provide dns
- need localmount net
- after bootmisc
- use logger
-}
-
-reload() {
- ebegin "Reloading ${SVCNAME}"
- kill -HUP $(cat "${pidfile}")
- eend $?
-}