diff --git a/extra/wxc2_emsInstall b/extra/wxc2_emsInstall index e60be68..bc0121f 100644 --- a/extra/wxc2_emsInstall +++ b/extra/wxc2_emsInstall @@ -923,8 +923,10 @@ 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 +echo -n "Starting EMS service ...." +#Start EMS service +systemctl daemon-reload +systemctl restart omcd.service if [ $? -ne 0 ] ; then echo "Failed to start EMS service. Please check the logs in /usr/local/omc/log" myShowResult "Failed"