feat: add start ems service at the end of installation
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user