Update nodemgmt-scripts.sh
This commit is contained in:
@@ -1336,8 +1336,13 @@ SERVICE(){
|
|||||||
echo -e "${idsCL[Red]}(${2}) is not an allowed service action.${idsCL[Default]}"
|
echo -e "${idsCL[Red]}(${2}) is not an allowed service action.${idsCL[Default]}"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
if [ "$2" = "start" ] && [ "$1" = "haproxy" ]; then TACT='restart'; else TACT="${2}"; fi
|
if [ "$2" = "start" ] && [ "$1" = "haproxy" ]; then
|
||||||
|
TACT='restart'
|
||||||
|
else
|
||||||
|
TACT="${2}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo
|
||||||
echo -e "${idsCL[LightGreen]}[[${NM_SERVICES[${1}]} ${NM_SRVCOPTS[${2}]}ing]]${idsCL[Default]}"
|
echo -e "${idsCL[LightGreen]}[[${NM_SERVICES[${1}]} ${NM_SRVCOPTS[${2}]}ing]]${idsCL[Default]}"
|
||||||
echo -e "${idsCL[LightGreen]}-------------------------------------------${idsCL[Default]}"
|
echo -e "${idsCL[LightGreen]}-------------------------------------------${idsCL[Default]}"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user