Update run.sh
This commit is contained in:
4
run.sh
4
run.sh
@@ -13,8 +13,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]} NodeMgmt - Galera/NGINX Node Management${idsCL[Default]} ${idsCL[DarkGray]}(ver-${VERS})${idsCL[Default]}"
|
||||||
echo -e "${idsCL[Yellow]}-------------------------------------------------------------${idsCL[Default]}"
|
echo -e "${idsCL[Yellow]}-------------------------------------------------------------${idsCL[Default]}"
|
||||||
echo -e "Node hostname: ${idsST[Bold]}${idsCL[LightCyan]}${NODE_HOSTNAME}${idsCL[Default]}${idsST[Reset]}"
|
echo -e "Node hostname: ${idsST[Bold]}${idsCL[LightCyan]}${NODE_HOSTNAME}${idsCL[Default]}${idsST[Reset]}"
|
||||||
if [ "${LOCAL_SERVICES}" != "" ]; then SERVICES=${LOCAL_SERVICES[@]}
|
if [ "${LOCAL_SERVICES}" != "" ]; then SERVICES=$LOCAL_SERVICES
|
||||||
else SERVICES=${NODE_SERVICES[@]}
|
else SERVICES=$NODE_SERVICES
|
||||||
fi
|
fi
|
||||||
for srvc in "${SERVICES[@]}"
|
for srvc in "${SERVICES[@]}"
|
||||||
do
|
do
|
||||||
|
|||||||
Reference in New Issue
Block a user