--- pdns/pdns.in.orig 2006-08-29 19:29:47 +0400 +++ pdns/pdns.in 2006-08-29 21:20:01 +0400 @@ -115,7 +115,16 @@ $0 start fi ;; + + condstop) + test "$NOTRUNNING" = "0" && $0 stop ;; + condrestart) + test "$NOTRUNNING" = "0" && $0 restart ;; + + condreload) + test "$NOTRUNNING" = "0" && $0 reload ;; + monitor) if test "$NOTRUNNING" = "0" then