diff options
author | Sven Wegener <swegener@gentoo.org> | 2007-05-07 20:19:18 +0000 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2007-05-07 20:19:18 +0000 |
commit | d452ce942bf8cdf0272a674c6f6f757595999717 (patch) | |
tree | f52e427af5bee91a5cd2904d9dce3ea1ba378fb6 /net-dns/pdns/files | |
parent | Updated depcrecation notice to point users to the 2007.0 profiles and added d... (diff) | |
download | gentoo-2-d452ce942bf8cdf0272a674c6f6f757595999717.tar.gz gentoo-2-d452ce942bf8cdf0272a674c6f6f757595999717.tar.bz2 gentoo-2-d452ce942bf8cdf0272a674c6f6f757595999717.zip |
Properly indent init script.
(Portage version: 2.1.2.7)
Diffstat (limited to 'net-dns/pdns/files')
-rw-r--r-- | net-dns/pdns/files/pdns | 26 |
1 files changed, 18 insertions, 8 deletions
diff --git a/net-dns/pdns/files/pdns b/net-dns/pdns/files/pdns index 2543bfded3e1..675aadda51ea 100644 --- a/net-dns/pdns/files/pdns +++ b/net-dns/pdns/files/pdns @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns/files/pdns,v 1.9 2007/03/12 19:56:07 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns/files/pdns,v 1.10 2007/05/07 20:19:18 swegener Exp $ opts="reload monitor dump" @@ -21,7 +21,10 @@ depend() { start() { ebegin "Starting PowerDNS (${PDNS_INSTANCE})" - /usr/sbin/pdns_server ${PDNS_CONFIG} --daemon=yes --guardian=yes + /usr/sbin/pdns_server \ + ${PDNS_CONFIG} \ + --daemon=yes \ + --guardian=yes eend $? } @@ -38,13 +41,20 @@ reload() { } dump() { - ebegin "Dumping PowerDNS (${PDNS_INSTANCE}) variables" - /usr/bin/pdns_control ${PDNS_CONFIG} list - eend $? + ebegin "Dumping PowerDNS (${PDNS_INSTANCE}) variables" + /usr/bin/pdns_control ${PDNS_CONFIG} list + eend $? } monitor() { - ebegin "Starting PowerDNS (${PDNS_INSTANCE}) in monitor mode" - /usr/sbin/pdns_server ${PDNS_CONFIG} --daemon=no --guardian=no --control-console=yes --loglevel=9 --log-dns-details=yes --query-logging=yes - eend $? + ebegin "Starting PowerDNS (${PDNS_INSTANCE}) in monitor mode" + /usr/sbin/pdns_server \ + ${PDNS_CONFIG} \ + --daemon=no \ + --guardian=no \ + --control-console=yes \ + --loglevel=9 \ + --log-dns-details=yes \ + --query-logging=yes + eend $? } |