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

add systemctl reset-failed

This commit is contained in:
downtownallday 2020-06-03 10:09:58 -04:00
parent 2b847a4314
commit bae7bc4a15

View File

@ -54,7 +54,8 @@ script:
# 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 cat /etc/nsd/nsd.conf
- sudo systemctl restart --wait nsd
- sudo systemctl reset-failed nsd.service
- sudo systemctl restart nsd.service
#
# launch automated tests, but skip tests that require remote
# smtp support because Travis-CI blocks outgoing port 25