This commit is contained in:
2025-08-19 20:07:37 -05:00
parent 0f31adc330
commit 52ea190b69
2 changed files with 2 additions and 5 deletions

View File

@@ -313,11 +313,8 @@ SERVICE_MGMT(){
fi
# echo "HERE: ${RUN_NODE_TYPE} - ${NT_HOST} = ${!NT_HOST}"
echo "HERE: ${RUN_NODE_TYPE} - ${NT_HOST}"
if ([ "${SERVICE['service']}" = "nginx" ] || [ "${SERVICE['service']}" = "apache2" ]) && ([ "${SERVICE['node']}" == "" ] || [ "${SERVICE['node']}" == "ALL" ]); then
echo "${RUN_NODE_TYPE} ~ ${NM_REPL_NGINX_PATHS[${RUN_NODE_TYPE}]} "
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]}"