diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 4da3d1f9..9586db5d 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -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]}"