Update services.inc

This commit is contained in:
2024-01-16 22:28:32 -06:00
parent 88eb6a5338
commit 033da9326f

View File

@@ -131,7 +131,7 @@ SERVICE_MGMT(){
if [ "${SERVICE['nodetype']}" == "ALL" ]; then
# NT_HOSTS=${SERVICE['nodetype']}_HOSTS[@]
# NT_HOST=RNIP
NT_HOST=RNIP
NTS=(${NM_NODE_TYPES[*]})
elif [ "${SERVICE['nodetype']}" != "" ]; then
@@ -268,7 +268,7 @@ SERVICE_MGMT(){
echo -e "${idsCL[LightGreen]}-------------------------------------------${idsCL[Default]}"
fi
echo "HERE: ${NT_HOSTS} = "
echo "HERE: ${NT_HOSTS} = ${!NT_HOSTS}"
if [ "${SERVICE['service']}" = "nginx" ] && ([ "${SERVICE['node']}" == "" ] || [ "${SERVICE['node']}" == "ALL" ]); then
if [ "${RUN_NODE_TYPE}" != "" ] && [ "${NM_REPL_NGINX_PATHS[${RUN_NODE_TYPE}]}" != "" ] && ([ "${SERVICE['action']}" = "restart" ] || [ "${SERVICE['action']}" = "reload" ]); then
if [ "${SERVICE['node']}" != "ns" ]; then