From d844be993dbb86c697e42952b5a4706c03161614 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Wed, 4 Mar 2026 20:15:06 -0600 Subject: [PATCH] update --- defaults.inc | 2 +- inc/status.inc | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/defaults.inc b/defaults.inc index ef104558..cf6ad931 100755 --- a/defaults.inc +++ b/defaults.inc @@ -1,6 +1,6 @@ #!/usr/bin/env bash -VERS='5.6.53-03012026' +VERS='5.6.54-03042026' NM_BETA=false diff --git a/inc/status.inc b/inc/status.inc index a39a70be..41319732 100755 --- a/inc/status.inc +++ b/inc/status.inc @@ -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 ######################################### #########################################