This commit is contained in:
2026-03-04 20:15:06 -06:00
parent 9a22188011
commit d844be993d
2 changed files with 8 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash
VERS='5.6.53-03012026'
VERS='5.6.54-03042026'
NM_BETA=false

View File

@@ -698,10 +698,17 @@ STATUS_NODE(){
#########################################
############ SERVICE REPAIRS ############
if [ ! -f ${NM_TMPFOLDER}/${nip}~${srvc}.disable ] && [ ! -f ${NM_TMPFOLDER}/${nip}~${srvc}.fix ] && [ $(expr $(date +%s) - $(stat -c %Y ${NM_TMPFOLDER}/${nip}~${srvc}.down)) -gt 90 ]; then
if [ "${srvc}" == "pihole-FTL" ]; then
${SSHCMD} root@${nip} 'pihole -r' & >/dev/null 2>&1
touch ${NM_TMPFOLDER}/${nip}~${srvc}.fix
fi
if [ "${srvc}" == "proxlb" ]; then
${SSHCMD} root@${nip} 'systemctl restart proxlb' & >/dev/null 2>&1
touch ${NM_TMPFOLDER}/${nip}~${srvc}.fix
fi
fi
#########################################
#########################################