Update nodemgmt-scripts.sh

This commit is contained in:
2019-03-06 13:09:24 -06:00
parent 657c68d75e
commit 6f0fa1c367

View File

@@ -36,13 +36,13 @@ STATUS(){
echo -e "${idsCL[LightCyan]}Setting up status checks...${idsCL[Default]}" echo -e "${idsCL[LightCyan]}Setting up status checks...${idsCL[Default]}"
echo echo
fi fi
if [ ! -z ${LOCAL_SERVICES+x} ]; then # if [ ! -z ${LOCAL_SERVICES+x} ]; then
NHCMD="ssh root@${NODE_HOSTS[0]}" NHCMD="ssh root@${NODE_HOSTS[0]}"
WHCMD="ssh root@${WEB_HOSTS[0]}" WHCMD="ssh root@${WEB_HOSTS[0]}"
echo "HERE: '${NHCMD}' '${WHCMD}'" echo "HERE: '${NHCMD}' '${WHCMD}'"
else # else
NHCMD='' # NHCMD=''
fi # fi
for rcheck in "${NODE_REPL_CHECK[@]}"; do for rcheck in "${NODE_REPL_CHECK[@]}"; do
${NHCMD} rm -f ${FOLDER}/test.repl ${NHCMD} rm -f ${FOLDER}/test.repl
daterun=`date +%Y-%m-%d-%H-%M-%S` daterun=`date +%Y-%m-%d-%H-%M-%S`