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

@@ -1,6 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
VERS='5.5.26-06222025' VERS='5.5.28-06232025'
NM_BETA=false 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 ' 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

@@ -30,14 +30,14 @@ SINGLE_SERVER_SERVICE_CHECK(){
completed=true completed=true
break 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}) 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 /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}) 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 killall bash
exit 1 exit 1
fi fi