summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-dns/pdns-recursor/files/pdns-recursor')
-rw-r--r--net-dns/pdns-recursor/files/pdns-recursor27
1 files changed, 0 insertions, 27 deletions
diff --git a/net-dns/pdns-recursor/files/pdns-recursor b/net-dns/pdns-recursor/files/pdns-recursor
deleted file mode 100644
index ebff2b02b85f..000000000000
--- a/net-dns/pdns-recursor/files/pdns-recursor
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-extra_started_commands="ping"
-
-depend() {
- need net
-}
-
-start() {
- ebegin "Starting PowerDNS Recursor"
- /usr/sbin/pdns_recursor --daemon=yes >/dev/null 2>&1
- eend $?
-}
-
-stop() {
- ebegin "Stopping PowerDNS Recursor"
- /usr/bin/rec_control quit >/dev/null 2>&1
- eend $?
-}
-
-ping() {
- ebegin "Pinging PowerDNS Recursor"
- /usr/bin/rec_control ping >/dev/null 2>&1
- eend $?
-}