Update nodemgmt-scripts.sh

This commit is contained in:
2025-03-10 23:06:03 -05:00
parent ad0711399e
commit 04f3d1dbff

View File

@@ -1206,7 +1206,7 @@ SKIP_SERVER_CHECKS(){
elif [ "${1}" == "off" ] || ([ -f ${NM_TMPFOLDER}/.skip ] && [ "${1}" == "" ]); then
rm -f ${NM_TMPFOLDER}/.skip
echo -e "${idsCL[LightGreen]}Server has been re-enabled for Node-Manager Status Checks${idsCL[Default]}"
if [ "$(systemctl list-units | grep keepalived)" ]; then
if [ "$(systemctl list-units --full -all | grep keepalived | grep loaded)" ]; then
echo -en "${idsCL[Green]}Starting${idsCL[LightCyan]} Keepalived ... ${idsCL[Default]}"
systemctl start keepalived >/dev/null 2>&1
echo -e "${idsCL[Green]}Done${idsCL[Default]}"