From 853ec0f00cf8a962a41d0380bad58a4dff55852d Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 25 Nov 2023 20:48:57 -0600 Subject: [PATCH] update --- defaults.inc | 2 +- inc/status.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/defaults.inc b/defaults.inc index 3302b678..5cd9870e 100755 --- a/defaults.inc +++ b/defaults.inc @@ -1,5 +1,5 @@ #!/usr/bin/env bash -VERS='4.15.30-11252023' +VERS='4.15.35-11252023' 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 ' CERT_DAEMON='/snap/bin/certbot' diff --git a/inc/status.inc b/inc/status.inc index 66a4ab82..c1c1e7c8 100755 --- a/inc/status.inc +++ b/inc/status.inc @@ -204,7 +204,7 @@ STATUS(){ SENDNOTICE "${NM_HOSTNAMES[${nip}]}[${nip}]-UP" "${NM_HOSTNAMES[${nip}]}[${nip}] is back UP! It was down for $(SHOW_TIME ${toterrtime})" fi - if [ "${ST_ACTION}" != "dockers" ]; then + if [ "${ST_ACTION}" != "dockers" ] && [ "${NM_SERVICES_CHECK[${NTYPE}]}" != "" ]; then srvcs=${NTYPE}_SERVICES_CHECK[@]; srvcstotest="$(join_by " " ${!srvcs})" [ "${NTYPE}" != "OFW" ] && srvctst=(`${NCMD} "systemctl is-active ${srvcstotest}"`)