use stop.pl to ensure old server is fully shutdown before starting new server

This commit is contained in:
Mark Andrews
2012-11-08 07:38:13 +11:00
parent 2cc7515f8a
commit 4326ea8b66

View File

@@ -29,7 +29,7 @@ echo "I:checking dnssec-lookaside "'"auto"'"; with views of multiple classes ($n
if [ -s ns2/named.pid ]
then
ret=0
kill -TERM `cat ns2/named.pid`
$PERL $SYSTEMTESTTOP/stop.pl . ns2 || ret=1
sleep 1
(cd ns2; $NAMED -f -d 100 -c named.conf >> named.run 2>&1 & )
sleep 2