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