From 5e909f60189c50e86356c7d1069e99cbbb47d754 Mon Sep 17 00:00:00 2001 From: Anton Georgiev Date: Fri, 2 Sep 2022 02:09:42 +0000 Subject: [PATCH] fix: bbb-conf --start to use bigbluebutton.target only --- bigbluebutton-config/bin/bbb-conf | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/bigbluebutton-config/bin/bbb-conf b/bigbluebutton-config/bin/bbb-conf index c3fda968f7..c0c942c97a 100755 --- a/bigbluebutton-config/bin/bbb-conf +++ b/bigbluebutton-config/bin/bbb-conf @@ -388,7 +388,7 @@ start_bigbluebutton () { } fi - systemctl start bigbluebutton.target nginx freeswitch $REDIS_SERVICE bbb-apps-akka bbb-fsesl-akka bbb-rap-resque-worker bbb-rap-starter.service bbb-rap-caption-inbox.service $HTML5 $WEBHOOKS $ETHERPAD $PADS $BBB_WEB $BBB_LTI + systemctl start bigbluebutton.target if [ -f /usr/lib/systemd/system/bbb-html5.service ]; then systemctl start mongod @@ -898,14 +898,18 @@ check_state() { if ! ss -ant | grep '8090' > /dev/null; then print_header - NOT_RUNNING_APPS="${NOT_RUNNING_APPS} ${TOMCAT_USER} or grails" + if [ ! -z "$TOMCAT_SERVICE" ]; then + NOT_RUNNING_APPS="${NOT_RUNNING_APPS} ${TOMCAT_USER} or grails" + fi else if ps aux | ps -aef | grep -v grep | grep grails | grep run-app > /dev/null; then print_header RUNNING_APPS="${RUNNING_APPS} Grails" echo "# ${TOMCAT_USER}: noticed you are running grails run-app instead of ${TOMCAT_USER}" else - RUNNING_APPS="${RUNNING_APPS} ${TOMCAT_USER}" + if [ ! -z "$TOMCAT_SERVICE" ]; then + RUNNING_APPS="${RUNNING_APPS} ${TOMCAT_USER}" + fi fi fi