From 3eb30641e8d049ac96148e84d508c627020065a2 Mon Sep 17 00:00:00 2001 From: Ghazi Triki <ghazi.triki@riadvice.tn> Date: Sun, 14 Jul 2019 16:36:14 +0300 Subject: [PATCH] Check bbb-lti service status and delete lti jar check. --- bigbluebutton-config/bin/bbb-conf | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/bigbluebutton-config/bin/bbb-conf b/bigbluebutton-config/bin/bbb-conf index 4db9a2aed0..18cce658ab 100755 --- a/bigbluebutton-config/bin/bbb-conf +++ b/bigbluebutton-config/bin/bbb-conf @@ -454,6 +454,10 @@ display_bigbluebutton_status () { units="$units bbb-web" fi + if [ -f /lib/systemd/system/bbb-lti.service ]; then + units="$units bbb-lti" + fi + line='——————————————————————►' for unit in $units; do status=$(systemctl is-active "$unit") @@ -1275,16 +1279,6 @@ check_state() { fi fi - if [ -d ${LTI_DIR} ]; then - if test ${TOMCAT_DIR}/webapps/lti.war -nt ${LTI_DIR}; then - echo "# Error: The updated lti.war did not deploy. To manually deploy:" - echo "#" - echo "# $SUDO touch ${SERVLET_DIR}/lti.war" - echo "#" - echo - fi - fi - if [ -d ${TOMCAT_DIR}/webapps/demo ]; then if test ${TOMCAT_DIR}/webapps/demo.war -nt ${TOMCAT_DIR}/webapps/demo; then echo "# Error: The updated demo.war did not deploy. To manually deploy:" -- GitLab