This commit is contained in:
2025-06-23 20:30:24 -05:00
parent 102c02f40f
commit b41fb371dc
2 changed files with 5 additions and 5 deletions

View File

@@ -30,14 +30,14 @@ SINGLE_SERVER_SERVICE_CHECK(){
completed=true
break
elif [ $(($(date +%s)-scanstart)) -ge 600 ]; then
elif [ $(($(date +%s)-scanstart)) -ge 180 ]; then
SENDNOTICE "${NM_HOSTNAMES[${RUN_NODE_IP}]} DNS Startup Failure 1" "${NM_HOSTNAMES[${RUN_NODE_IP}]} (${RUN_NODE_IP})
Server did not start serving DNS requests within 10mins, starting Pi-Hole repair...." 1
Server did not start serving DNS requests within 3mins, starting Pi-Hole repair...." 1
/usr/local/bin/pihole -r
elif [ $(($(date +%s)-scanstart)) -ge 1200 ]; then
elif [ $(($(date +%s)-scanstart)) -ge 600 ]; then
SENDNOTICE "${NM_HOSTNAMES[${RUN_NODE_IP}]} DNS Startup Failure 2" "${NM_HOSTNAMES[${RUN_NODE_IP}]} (${RUN_NODE_IP})
Server did not start serving DNS requests within 20mins you moron...." 1
Server did not start serving DNS requests within 10mins you moron...." 1
killall bash
exit 1
fi