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 #!/usr/bin/env bash
VERS='5.6.21-08192025' VERS='5.6.22-08192025'
NM_BETA=false NM_BETA=false

View File

@@ -87,11 +87,11 @@ NEWCERT(){
DIVIDER true DIVIDER true
if [ ${NONGINXRESTART} -eq 0 ]; then 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 SERVICE_MGMT nginx restart
else # else
/bin/systemctl restart nginx # /bin/systemctl restart nginx
fi # fi
fi fi
fi fi
echo 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 [ "${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 SERVICE_MGMT nginx restart
else # else
/bin/systemctl restart nginx # /bin/systemctl restart nginx
fi # fi
echo -e "${idsCL[LightRed]}Site has been deleted.${idsCL[Default]}\n" echo -e "${idsCL[LightRed]}Site has been deleted.${idsCL[Default]}\n"
else else
echo "Missing arguments" echo "Missing arguments"
@@ -357,18 +357,18 @@ NEWSITE(){
if [[ ${NGINXRELOAD} =~ ^[Nn]$ ]]; then if [[ ${NGINXRELOAD} =~ ^[Nn]$ ]]; then
echo echo
else else
if [[ "${RUN_NODE_IP}" != "10.6.1"* ]]; then # if [[ "${RUN_NODE_IP}" != "10.6.1"* ]]; then
SERVICE_MGMT nginx restart SERVICE_MGMT nginx restart
else # else
/bin/systemctl restart nginx # /bin/systemctl restart nginx
fi # fi
fi fi
else else
if [[ "${RUN_NODE_IP}" != "10.6.1"* ]]; then # if [[ "${RUN_NODE_IP}" != "10.6.1"* ]]; then
SERVICE_MGMT nginx restart SERVICE_MGMT nginx restart
else # else
/bin/systemctl restart nginx # /bin/systemctl restart nginx
fi # fi
fi fi
else else
echo "Missing proxy arguments" echo "Missing proxy arguments"
@@ -915,11 +915,11 @@ EDITSITE(){
echo echo
echo -en "\033[1A\033[K\r${idsCL[LightCyan]}Restarting NGINX on all '${RUN_NODE_TYPE}' Nodes ... ${idsCL[Default]}" 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 SERVICE_MGMT nginx restart
else # else
/bin/systemctl restart nginx # /bin/systemctl restart nginx
fi # fi
echo -e "${idsCL[LightGreen]}Done${idsCL[Default]}" echo -e "${idsCL[LightGreen]}Done${idsCL[Default]}"
echo echo