]> git.ipfire.org Git - thirdparty/pdns.git/blobdiff - regression-tests.recursor/stop.sh
Merge pull request #9162 from jsoref/clarify-docs
[thirdparty/pdns.git] / regression-tests.recursor / stop.sh
index f5d3c7906d98ae1bd9dacae822f62df38be874cb..728c434eb92ff44a2b1920557c9fb7d0c8eeef22 100755 (executable)
@@ -1,6 +1,8 @@
 #!/bin/sh
 set -e
-set -x
+if [ "${PDNS_DEBUG}" = "YES" ]; then
+  set -x
+fi
 
 . ./vars
 
@@ -12,7 +14,7 @@ fi
 
 cd configs
 
-for dir in $PREFIX.* recursor-service
+for dir in $PREFIX.* recursor-service*
 do
        svc -d $dir
        svc -k $dir