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:
commit
0a4c66484d
@ -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
|
||||
|
@ -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:"
|
||||
|
Loading…
Reference in New Issue
Block a user