From b9fe79647874d0bb1214d43c5ca5814a1538234f Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 14 Sep 2023 19:03:36 -0500 Subject: [PATCH] update --- defaults.inc | 2 +- inc/status.inc | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/defaults.inc b/defaults.inc index 0321e15a..a7d14676 100755 --- a/defaults.inc +++ b/defaults.inc @@ -1,5 +1,5 @@ #!/usr/bin/env bash -VERS='4.12.21-09112023' +VERS='4.12.22-09142023' noheader=' service status-check nightlyrephp7.3-fpm,new backup report check checkcerts gitea update-nodes copynpmcerts singleservercheck update-dyndns backup-offsitepfsense ' CERT_DAEMON='/snap/bin/certbot' diff --git a/inc/status.inc b/inc/status.inc index 4e3d6ccb..891b4548 100755 --- a/inc/status.inc +++ b/inc/status.inc @@ -330,7 +330,8 @@ STATUS(){ fi for docker in "${!dockers}"; do - ([ "${docker}" == "vaultwarden" ] || [ "${docker}" == "heimdall" ] || [ "${docker}" == "authelia" ]) && [ "${NTYPE}" == "WEB" ] && [[ $($NCMD /sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1) != *${WEB_HOSTS[0]}* ]] && NOGOCHK=false || NOGOCHK=true + [ "${NTYPE}" == "WEB" ] && ([ "${docker}" == "vaultwarden" ] || [ "${docker}" == "heimdall" ] || [ "${docker}" == "authelia" ]) && [[ $($NCMD /sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1) != *${WEB_HOSTS[0]}* ]] && NOGOCHK=false || NOGOCHK=true + [ "${NTYPE}" == "LPD" ] && [ "${docker}" == "uptime-kuma" ] && [[ $($NCMD /sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1) != *10.2.1.2* ]] && NOGOCHK=false || NOGOCHK=true if [ ${NOGOCHK} == true ]; then if [ "${ST_ACTION}" != "check" ]; then if [ "${ST_ACTION}" != "report" ]; then