This commit is contained in:
2025-08-19 22:25:40 -05:00
parent aebe0cab1d
commit 5b7490e242
3 changed files with 21 additions and 21 deletions

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash
VERS='5.6.21-08192025'
VERS='5.6.22-08192025'
NM_BETA=false

View File

@@ -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

View File

@@ -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