diff options
Diffstat (limited to 'net-dns/pdnsd/files/pdnsd.rc7')
-rw-r--r-- | net-dns/pdnsd/files/pdnsd.rc7 | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/net-dns/pdnsd/files/pdnsd.rc7 b/net-dns/pdnsd/files/pdnsd.rc7 deleted file mode 100644 index 61d1eb0b1192..000000000000 --- a/net-dns/pdnsd/files/pdnsd.rc7 +++ /dev/null @@ -1,30 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/pdnsd/files/pdnsd.rc7,v 1.5 2014/03/03 13:57:09 polynomial-c Exp $ - -pidfile="/var/run/pdnsd.pid" -command="/usr/sbin/pdnsd" -command_args="-s -t -d -p ${pidfile} ${PDNSDCONFIG}" -extra_started_commands="reload" - -depend() { - use net - provide dns -} - -start_pre() { - if [ ! -e /etc/pdnsd/pdnsd.conf ] ; then - eerror "You need an /etc/pdnsd/pdnsd.conf file first." - eerror "There is a sample in /etc/pdnsd/pdnsd.conf.sample" - return 1 - fi - - checkpath -o pdnsd -d /var/cache/pdnsd -} - -reload() { - ebegin "Reloading pdnsd.conf" - /usr/sbin/pdnsd-ctl config - eend $? -} |