summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2007-05-07 20:19:18 +0000
committerSven Wegener <swegener@gentoo.org>2007-05-07 20:19:18 +0000
commitd452ce942bf8cdf0272a674c6f6f757595999717 (patch)
treef52e427af5bee91a5cd2904d9dce3ea1ba378fb6 /net-dns/pdns
parentUpdated depcrecation notice to point users to the 2007.0 profiles and added d... (diff)
downloadgentoo-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')
-rw-r--r--net-dns/pdns/ChangeLog5
-rw-r--r--net-dns/pdns/files/pdns26
2 files changed, 22 insertions, 9 deletions
diff --git a/net-dns/pdns/ChangeLog b/net-dns/pdns/ChangeLog
index a031979f653f..3cded5498352 100644
--- a/net-dns/pdns/ChangeLog
+++ b/net-dns/pdns/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-dns/pdns
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns/ChangeLog,v 1.44 2007/05/06 09:16:12 genone Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns/ChangeLog,v 1.45 2007/05/07 20:19:18 swegener Exp $
+
+ 07 May 2007; Sven Wegener <swegener@gentoo.org> files/pdns:
+ Properly indent init script.
06 May 2007; Marius Mauch <genone@gentoo.org> pdns-2.9.20-r1.ebuild,
pdns-2.9.20-r2.ebuild, pdns-2.9.21.ebuild:
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 $?
}