diff --git a/root/etc/s6-overlay/s6-rc.d/svc-coredns/run b/root/etc/s6-overlay/s6-rc.d/svc-coredns/run index 150f424..d127653 100755 --- a/root/etc/s6-overlay/s6-rc.d/svc-coredns/run +++ b/root/etc/s6-overlay/s6-rc.d/svc-coredns/run @@ -11,10 +11,10 @@ elif grep -q "health" /config/coredns/Corefile; then exec \ s6-notifyoncheck -d -n 300 -w 1000 -c "redirfd -w 1 /dev/null curl -s http://localhost:8080/health" \ cd /config/coredns \ - /usr/bin/coredns -dns.port=53 + /app/coredns -dns.port=53 else exec \ s6-notifyoncheck -d -n 300 -w 1000 -c "nc -zu localhost 53" \ cd /config/coredns \ - /usr/bin/coredns -dns.port=53 + /app/coredns -dns.port=53 fi