1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-05 00:27:25 +00:00

add --wait to systemctl restart

This commit is contained in:
downtownallday 2020-06-03 09:59:23 -04:00
parent 44f7392e9e
commit 2b847a4314

View File

@ -54,8 +54,7 @@ script:
# changes, the sed command below may need to be adjusted. # changes, the sed command below may need to be adjusted.
- sudo sed -i 's/ip-address\(.\)\(.*\)/ip-address\1\2\n do-ip4\1 yes\n do-ip6\1 no\n verbosity\1 3\nremote-control\1\n control-enable\1 no/' /etc/nsd/nsd.conf - sudo sed -i 's/ip-address\(.\)\(.*\)/ip-address\1\2\n do-ip4\1 yes\n do-ip6\1 no\n verbosity\1 3\nremote-control\1\n control-enable\1 no/' /etc/nsd/nsd.conf
- sudo cat /etc/nsd/nsd.conf - sudo cat /etc/nsd/nsd.conf
- sudo systemctl restart nsd - sudo systemctl restart --wait nsd
- sudo systemctl status nsd
# #
# launch automated tests, but skip tests that require remote # launch automated tests, but skip tests that require remote
# smtp support because Travis-CI blocks outgoing port 25 # smtp support because Travis-CI blocks outgoing port 25