feat: add start ems service at the end of installation

This commit is contained in:
AGT EMS
2025-06-19 11:32:38 +08:00
parent 2bdaa62199
commit e7b187a234

View File

@@ -921,8 +921,16 @@ chgrp -R mysql /var/lib/mysql
###############################################################################
# 4. EMS Install Finished
###############################################################################
##############################################################################o
myShowTitle "EMS Installation Process is complete"
echo -n "Start EMS service ...."
service omcd restart
if [ $? -ne 0 ] ; then
echo "Failed to start EMS service. Please check the logs in /usr/local/omc/log"
myShowResult "Failed"
exit 1
fi
myShowResult "OK"
exit