docker/mod/core/entrypoint.sh
chandi 9d69afd937
fix accidental use of RUN in entrypoint.sh
Co-authored-by: cheuberg <clemens.heuberger@aau.at>
2020-05-17 11:10:51 +02:00

23 lines
893 B
Bash
Executable File

#!/bin/bash
# generate bbb folders
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/published
mkdir -p /var/bigbluebutton/deleted
mkdir -p /var/bigbluebutton/unpublished
# -- fix directory permissions
chown -R bigbluebutton:bigbluebutton /var/bigbluebutton
dockerize \
-template /usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties.tmpl:/usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties \
-template /usr/share/bbb-apps-akka/conf/application.conf.tmpl:/usr/share/bbb-apps-akka/conf/application.conf \
/usr/bin/supervisord --nodaemon