This commit is contained in:
2025-06-22 10:22:50 -05:00
parent 5b52538cbb
commit 66ab8dfdf5
2 changed files with 7 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash
VERS='5.5.25-06212025'
VERS='5.5.26-06222025'
NM_BETA=false
noheader=' service status-check nightlyrephp7.3-fpm,new backup report check checkcerts gitea update-nodes copynpmcerts singleservercheck update-dyndns backup-offsitepfsense gui nightlyreview update log betacheck offsite-staticroute-fix '

View File

@@ -29,9 +29,14 @@ SINGLE_SERVER_SERVICE_CHECK(){
if [ "${dnstest}" != "" ] && [[ "${dnstest}" != *";;"* ]]; then
completed=true
break
elif [ $(($(date +%s)-scanstart)) -ge 600 ]; 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
/usr/local/bin/pihole -r
elif [ $(($(date +%s)-scanstart)) -ge 1200 ]; then
SENDNOTICE "${NM_HOSTNAMES[${RUN_NODE_IP}]} DNS Startup Failure" "${NM_HOSTNAMES[${RUN_NODE_IP}]} (${RUN_NODE_IP})
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
killall bash
exit 1