Merge pull request #7779 from riadvice/lti-upgrade

Fix LTI logs filename & check bbb-lti service status and delete lti jar check
This commit is contained in:
Fred Dixon 2019-07-14 21:21:50 -04:00 committed by GitHub
commit 0a4c66484d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 11 deletions

View File

@ -9,7 +9,7 @@
<appender name="FILE"
class="ch.qos.logback.core.rolling.RollingFileAppender">
<File>logs/bbb-web.log</File>
<File>logs/bbb-lti.log</File>
<rollingPolicy
class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<FileNamePattern>/var/log/bigbluebutton/bbb-lit.%d{yyyy-MM-dd}.log

View File

@ -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:"