]> git.ipfire.org Git - thirdparty/pdns.git/blob - regression-tests.recursor/stop.sh
Initial code for ecs-cache-limit-ttl.
[thirdparty/pdns.git] / regression-tests.recursor / stop.sh
1 #!/bin/sh
2 set -e
3 if [ "${PDNS_DEBUG}" = "YES" ]; then
4 set -x
5 fi
6
7 . ./vars
8
9 if [ -z "$PREFIX" ]
10 then
11 echo "config not found or PREFIX not set"
12 exit 1
13 fi
14
15 cd configs
16
17 for dir in $PREFIX.* recursor-service*
18 do
19 svc -d $dir
20 svc -k $dir
21 svc -x $dir
22 done