update
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
VERS='5.5.25-06212025'
|
VERS='5.5.26-06222025'
|
||||||
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 '
|
||||||
|
|||||||
@@ -29,9 +29,14 @@ SINGLE_SERVER_SERVICE_CHECK(){
|
|||||||
if [ "${dnstest}" != "" ] && [[ "${dnstest}" != *";;"* ]]; then
|
if [ "${dnstest}" != "" ] && [[ "${dnstest}" != *";;"* ]]; then
|
||||||
completed=true
|
completed=true
|
||||||
break
|
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
|
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
|
Server did not start serving DNS requests within 20mins you moron...." 1
|
||||||
killall bash
|
killall bash
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
Reference in New Issue
Block a user