Update run.sh

This commit is contained in:
2019-01-29 21:15:53 -06:00
parent f2e08e21cc
commit cbc21dffcd

4
run.sh
View File

@@ -15,8 +15,8 @@ if [ "$1" != "service" ] && [ "$1" != "status-check" ]; then
echo -e "${idsCL[Yellow]} NodeMgmt - Galera/NGINX Node Management${idsCL[Default]} ${idsCL[DarkGray]}(ver-${VERS})${idsCL[Default]}"
echo -e "${idsCL[Yellow]}-------------------------------------------------------------${idsCL[Default]}"
echo -e "Node hostname: ${idsST[Bold]}${idsCL[LightCyan]}${NODE_HOSTNAME}${idsCL[Default]}${idsST[Reset]}"
if [ "${LOCAL_SERVICES}" != "" ]; then SERVICES=${LOCAL_SERVICES}
else SERVICES=${NODE_SERVICES}
if [ "${LOCAL_SERVICES}" != "" ]; then SERVICES=${LOCAL_SERVICES[@]}
else SERVICES=${NODE_SERVICES[@]}
fi
for srvc in "${SERVICES[@]}"
do