Search
j0ke.net Open Build Service
>
Projects
>
server:dns
>
pdns
> pdns-fixinit.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File pdns-fixinit.patch of Package pdns
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