Update bbb-conf

Properly detect if bbb-html5 is installed
This commit is contained in:
Fred Dixon 2015-03-13 15:41:52 -04:00
parent 0e76927bb3
commit 52d2f69f82

View File

@ -236,7 +236,7 @@ uncomment () {
stop_bigbluebutton () { stop_bigbluebutton () {
/etc/init.d/monit stop /etc/init.d/monit stop
if [ -f /etc/init/bbb-html5 ]; then if [ -f /etc/init/bbb-html5.conf ]; then
stop bbb-html5 stop bbb-html5
fi fi
@ -285,7 +285,7 @@ start_bigbluebutton () {
echo echo
BBB_WEB=$(cat ${SERVLET_DIR}/bigbluebutton/WEB-INF/classes/bigbluebutton.properties | sed -n '/^bigbluebutton.web.serverURL/{s/.*\///;p}') BBB_WEB=$(cat ${SERVLET_DIR}/bigbluebutton/WEB-INF/classes/bigbluebutton.properties | sed -n '/^bigbluebutton.web.serverURL/{s/.*\///;p}')
if [ -f /etc/init/bbb-html5 ]; then if [ -f /etc/init/bbb-html5.conf ]; then
echo -n "Waiting for Meteor (HTML5 server) to finish starting up (this may take a minute): " echo -n "Waiting for Meteor (HTML5 server) to finish starting up (this may take a minute): "
start bbb-html5 start bbb-html5