pdns/pdns-fixinit.patch
Ruben Kerkhof 853569f1f5 - Upstream releasd new release candidate
- Drop patches which are upstreamed
2008-12-03 12:53:07 +00:00

28 lines
743 B
Diff

diff -up pdns-2.9.22-rc2/pdns/pdns.in.fixinit pdns-2.9.22-rc2/pdns/pdns.in
--- pdns-2.9.22-rc2/pdns/pdns.in.fixinit 2008-02-03 13:14:00.000000000 +0100
+++ pdns-2.9.22-rc2/pdns/pdns.in 2008-12-03 04:07:26.000000000 +0100
@@ -47,6 +47,7 @@ case "$1" in
if test "$NOTRUNNING" = "0"
then
doPC quit
+ rm -f /var/lock/subsys/pdns
echo $ret
else
echo "not running"
@@ -57,6 +58,7 @@ case "$1" in
force-stop)
echo -n "Stopping PowerDNS authoritative nameserver: "
killall -v -9 pdns_server
+ rm -f /var/lock/subsys/pdns
echo "killed"
;;
@@ -69,6 +71,7 @@ case "$1" in
$pdns_server --daemon --guardian=yes
if test "$?" = "0"
then
+ touch /var/lock/subsys/pdns
echo "started"
fi
fi