--- pdns/pdns.in 2002-12-09 17:01:35.000000000 +0100 +++ pdns/pdns.in.oden 2003-03-26 19:24:47.000000000 +0100 @@ -1,6 +1,27 @@ #!/bin/sh -# chkconfig: - 80 75 -# description: PDNS is a versatile high performance authoritative nameserver +# +# powerdns This shell script takes care of starting and stopping powerdns. +# +# chkconfig: 345 80 75 +# description: PowerDNS is a versatile high performance \ +# authoritative nameserver +# probe: true +# processname: powerdns +# pidfile: /var/run/powerdns/powerdns.pid +# config: /etc/powerdns/pdns.conf + +# Source function library. +. /etc/rc.d/init.d/functions + +# Source networking configuration. +. /etc/sysconfig/network + +# Check that networking is up. +[ "${NETWORKING}" = "no" ] && exit 0 + +[ -f /etc/powerdns/pdns.conf ] || exit 0 + +[ -f /usr/sbin/pdns_server ] || exit 0 prefix=@prefix@ exec_prefix=@exec_prefix@