Update nodemgmt-scripts.sh
This commit is contained in:
@@ -753,6 +753,7 @@ NEWCERT(){
|
|||||||
if [[ ${NGINXRELOAD} =~ ^[Nn]$ ]]; then
|
if [[ ${NGINXRELOAD} =~ ^[Nn]$ ]]; then
|
||||||
tmp=''
|
tmp=''
|
||||||
else
|
else
|
||||||
|
echo
|
||||||
echo -en "${idsCL[LightYellow]}Waiting for Cert replication across the nodes... ${idsCL[Default]}"
|
echo -en "${idsCL[LightYellow]}Waiting for Cert replication across the nodes... ${idsCL[Default]}"
|
||||||
for nip in "${LB_HOSTS[@]}"; do
|
for nip in "${LB_HOSTS[@]}"; do
|
||||||
checkhost=$(CHECK_HOST ${nip})
|
checkhost=$(CHECK_HOST ${nip})
|
||||||
@@ -2060,7 +2061,7 @@ SERVICE(){
|
|||||||
fi
|
fi
|
||||||
checkhost=$(CHECK_HOST ${nip})
|
checkhost=$(CHECK_HOST ${nip})
|
||||||
if [ "${checkhost}" != "false" ]; then
|
if [ "${checkhost}" != "false" ]; then
|
||||||
$NCMD systemctl $2 $1
|
$NCMD systemctl $2 $1 >/dev/null 2>&1
|
||||||
if [ "${3}" != "q" ]; then
|
if [ "${3}" != "q" ]; then
|
||||||
if [[ "enable,disable" = *"${2}"* ]] || [ "${1}" = "daemon-reload" ]; then
|
if [[ "enable,disable" = *"${2}"* ]] || [ "${1}" = "daemon-reload" ]; then
|
||||||
echo -e "${idsCL[Green]}OK${idsCL[Default]}"
|
echo -e "${idsCL[Green]}OK${idsCL[Default]}"
|
||||||
|
|||||||
Reference in New Issue
Block a user