fix copy/pasta error

This commit is contained in:
aptalca 2022-10-10 10:00:49 -04:00
parent e4f61af9e7
commit 5f9a045cb3

View File

@ -11,10 +11,10 @@ elif grep -q "health" /config/coredns/Corefile; then
exec \ exec \
s6-notifyoncheck -d -n 300 -w 1000 -c "redirfd -w 1 /dev/null curl -s http://localhost:8080/health" \ s6-notifyoncheck -d -n 300 -w 1000 -c "redirfd -w 1 /dev/null curl -s http://localhost:8080/health" \
cd /config/coredns \ cd /config/coredns \
/usr/bin/coredns -dns.port=53 /app/coredns -dns.port=53
else else
exec \ exec \
s6-notifyoncheck -d -n 300 -w 1000 -c "nc -zu localhost 53" \ s6-notifyoncheck -d -n 300 -w 1000 -c "nc -zu localhost 53" \
cd /config/coredns \ cd /config/coredns \
/usr/bin/coredns -dns.port=53 /app/coredns -dns.port=53
fi fi