diff options
author | Sven Wegener <swegener@gentoo.org> | 2005-07-17 05:25:53 +0000 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2005-07-17 05:25:53 +0000 |
commit | 1985eead8a565a03db385f50c622e3b21ceceb40 (patch) | |
tree | 9605b8ec0e43511d0a29538b6ab82a0a3cf9b156 /net-dns/pdns/files | |
parent | Adjust the sqlite dependency. (diff) | |
download | gentoo-2-1985eead8a565a03db385f50c622e3b21ceceb40.tar.gz gentoo-2-1985eead8a565a03db385f50c622e3b21ceceb40.tar.bz2 gentoo-2-1985eead8a565a03db385f50c622e3b21ceceb40.zip |
Use the pdns_control program to shutdown the server.
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'net-dns/pdns/files')
-rw-r--r-- | net-dns/pdns/files/pdns | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net-dns/pdns/files/pdns b/net-dns/pdns/files/pdns index bead283292eb..2dd2ecb4ef7c 100644 --- a/net-dns/pdns/files/pdns +++ b/net-dns/pdns/files/pdns @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 1999-2005 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.4 2005/07/17 04:50:51 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns/files/pdns,v 1.5 2005/07/17 05:25:53 swegener Exp $ opts="${opts} reload" @@ -28,7 +28,7 @@ start() { stop() { ebegin "Stopping PowerDNS (${PDNS_INSTANCE})" - start-stop-daemon --stop --quiet --pidfile /var/run/${myservice}.pid + /usr/bin/pdns_control ${PDNS_CONFIG} quit &>/dev/null eend $? } |