Update services.inc

This commit is contained in:
2025-08-19 19:55:17 -05:00
parent 35792d0eab
commit 2aefa77e85

View File

@@ -312,9 +312,11 @@ SERVICE_MGMT(){
echo -e "${idsCL[LightGreen]}-------------------------------------------${idsCL[Default]}"
fi
# echo "HERE: ${NT_HOST} = ${!NT_HOST}"
echo "HERE: ${NT_HOST} = ${!NT_HOST}"
if ([ "${SERVICE['service']}" = "nginx" ] || [ "${SERVICE['service']}" = "apache2" ]) && ([ "${SERVICE['node']}" == "" ] || [ "${SERVICE['node']}" == "ALL" ]); then
echo 1
if [ "${RUN_NODE_TYPE}" != "" ] && [ "${NM_REPL_NGINX_PATHS[${RUN_NODE_TYPE}]}" != "" ] && ([ "${SERVICE['action']}" = "restart" ] || [ "${SERVICE['action']}" = "reload" ]); then
echo 2
if [ "${SERVICE['node']}" != "ns" ]; then
if [ ${QUIET} -eq 0 ]; then
echo -en "${idsCL[LightYellow]}Verifying replication across the nodes... ${idsCL[Default]}"