From 5b7490e2426aa8776caf112246c6f9cde5fe68a3 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Tue, 19 Aug 2025 22:25:40 -0500 Subject: [PATCH] update --- defaults.inc | 2 +- inc/certs.inc | 8 ++++---- inc/sites.inc | 32 ++++++++++++++++---------------- 3 files changed, 21 insertions(+), 21 deletions(-) diff --git a/defaults.inc b/defaults.inc index 407fc244..6cd30cb9 100755 --- a/defaults.inc +++ b/defaults.inc @@ -1,6 +1,6 @@ #!/usr/bin/env bash -VERS='5.6.21-08192025' +VERS='5.6.22-08192025' NM_BETA=false diff --git a/inc/certs.inc b/inc/certs.inc index 058a1e08..733e3019 100755 --- a/inc/certs.inc +++ b/inc/certs.inc @@ -87,11 +87,11 @@ NEWCERT(){ DIVIDER true if [ ${NONGINXRESTART} -eq 0 ]; then - if [[ "${RUN_NODE_IP}" != "10.6.1"* ]]; then + # if [[ "${RUN_NODE_IP}" != "10.6.1"* ]]; then SERVICE_MGMT nginx restart - else - /bin/systemctl restart nginx - fi + # else + # /bin/systemctl restart nginx + # fi fi fi echo diff --git a/inc/sites.inc b/inc/sites.inc index a815b26a..f9ca45fc 100755 --- a/inc/sites.inc +++ b/inc/sites.inc @@ -56,11 +56,11 @@ DELSITE(){ [ "${NM_AUTHELIA_IP}" != "" ] && ${SSHCMD} root@${NM_AUTHELIA_IP} sed -i "/${DEL_SITE}/d" ${NM_DOCKER_COMPOSE_LOC['authelia']}/config/configuration.yml - if [[ "${RUN_NODE_IP}" != "10.6.1"* ]]; then + # if [[ "${RUN_NODE_IP}" != "10.6.1"* ]]; then SERVICE_MGMT nginx restart - else - /bin/systemctl restart nginx - fi + # else + # /bin/systemctl restart nginx + # fi echo -e "${idsCL[LightRed]}Site has been deleted.${idsCL[Default]}\n" else echo "Missing arguments" @@ -357,18 +357,18 @@ NEWSITE(){ if [[ ${NGINXRELOAD} =~ ^[Nn]$ ]]; then echo else - if [[ "${RUN_NODE_IP}" != "10.6.1"* ]]; then + # if [[ "${RUN_NODE_IP}" != "10.6.1"* ]]; then SERVICE_MGMT nginx restart - else - /bin/systemctl restart nginx - fi + # else + # /bin/systemctl restart nginx + # fi fi else - if [[ "${RUN_NODE_IP}" != "10.6.1"* ]]; then + # if [[ "${RUN_NODE_IP}" != "10.6.1"* ]]; then SERVICE_MGMT nginx restart - else - /bin/systemctl restart nginx - fi + # else + # /bin/systemctl restart nginx + # fi fi else echo "Missing proxy arguments" @@ -915,11 +915,11 @@ EDITSITE(){ echo echo -en "\033[1A\033[K\r${idsCL[LightCyan]}Restarting NGINX on all '${RUN_NODE_TYPE}' Nodes ... ${idsCL[Default]}" - if [[ "${RUN_NODE_IP}" != "10.6.1"* ]]; then + # if [[ "${RUN_NODE_IP}" != "10.6.1"* ]]; then SERVICE_MGMT nginx restart - else - /bin/systemctl restart nginx - fi + # else + # /bin/systemctl restart nginx + # fi echo -e "${idsCL[LightGreen]}Done${idsCL[Default]}" echo