2020-10-28 16:11:21 +01:00
|
|
|
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
|
2020-12-23 23:58:24 +01:00
|
|
|
# create recording directory structure if it doesn't exist yet
|
|
|
|
mkdir -p /var/bigbluebutton/recording/raw
|
|
|
|
mkdir -p /var/bigbluebutton/recording/process
|
|
|
|
mkdir -p /var/bigbluebutton/recording/publish
|
|
|
|
mkdir -p /var/bigbluebutton/recording/status/recorded
|
|
|
|
mkdir -p /var/bigbluebutton/recording/status/archived
|
|
|
|
mkdir -p /var/bigbluebutton/recording/status/processed
|
|
|
|
mkdir -p /var/bigbluebutton/recording/status/sanity
|
|
|
|
mkdir -p /var/bigbluebutton/recording/status/ended
|
|
|
|
mkdir -p /var/bigbluebutton/recording/status/published
|
|
|
|
mkdir -p /var/bigbluebutton/captions/inbox
|
|
|
|
mkdir -p /var/bigbluebutton/published
|
|
|
|
mkdir -p /var/bigbluebutton/deleted
|
|
|
|
mkdir -p /var/bigbluebutton/unpublished
|
|
|
|
chown -R bigbluebutton:bigbluebutton /var/bigbluebutton
|
|
|
|
|
2021-02-24 21:50:27 +01:00
|
|
|
echo "$NUMBER_OF_BACKEND_NODEJS_PROCESSES" > /tmp/NUMBER_OF_BACKEND_NODEJS_PROCESSES
|
|
|
|
|
2020-10-28 16:11:21 +01:00
|
|
|
cd /usr/share/bbb-web/
|
|
|
|
dockerize \
|
2021-04-02 18:34:55 +02:00
|
|
|
-template /etc/bigbluebutton/bbb-web.properties.tmpl:/etc/bigbluebutton/bbb-web.properties \
|
2020-10-28 16:11:21 +01:00
|
|
|
-template /usr/share/bbb-web/WEB-INF/classes/spring/turn-stun-servers.xml.tmpl:/usr/share/bbb-web/WEB-INF/classes/spring/turn-stun-servers.xml \
|
|
|
|
gosu bigbluebutton java -Dgrails.env=prod -Dserver.address=0.0.0.0 -Dserver.port=8090 -Xms384m -Xmx384m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/var/bigbluebutton/diagnostics -cp WEB-INF/lib/*:/:WEB-INF/classes/:. org.springframework.boot.loader.WarLauncher
|
|
|
|
|
|
|
|
|