Rename start() and stop() to start_server() and stop_server()

On OpenBSD, there's non-POSIX alias from stop to kill that breaks
the conf.sh.common script.
This commit is contained in:
Ondřej Surý
2020-05-01 10:14:21 +02:00
parent 5b7fccd28d
commit 370a335d51
19 changed files with 58 additions and 58 deletions

View File

@@ -337,7 +337,7 @@ rm named.pid
cd ..
sleep 10
if
start --noclean --restart --port ${PORT} nsupdate ns1
start_server --noclean --restart_server --port ${PORT} nsupdate ns1
then
echo_i "restarted server ns1"
else
@@ -519,7 +519,7 @@ sleep 3
# that the data served by the new server process are exactly
# those dumped to the master file by "rndc stop".
rm -f ns1/*jnl
start --noclean --restart --port ${PORT} nsupdate ns1
start_server --noclean --restart_server --port ${PORT} nsupdate ns1
for try in 0 1 2 3 4 5 6 7 8 9; do
iret=0
$DIG $DIGOPTS +tcp +noadd +nosea +nostat +noquest +nocomm +nocmd \