forked from extern/docker
Fix #11
This commit is contained in:
parent
5dde5a75f7
commit
8d3464150c
12
setup.sh
12
setup.sh
@ -206,7 +206,13 @@ HERE
|
|||||||
|
|
||||||
|
|
||||||
# Ensure bbb-apps-akka has the latest shared secret from bbb-web
|
# Ensure bbb-apps-akka has the latest shared secret from bbb-web
|
||||||
SECRET=$(cat /var/lib/tomcat7/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties | grep -v '#' | grep securitySalt | cut -d= -f2);
|
if [ -z "$SECRET" ]; then
|
||||||
|
SECRET=$(cat /var/lib/tomcat7/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties | grep -v '#' | grep securitySalt | cut -d= -f2);
|
||||||
|
else
|
||||||
|
change_var_value /var/lib/tomcat7/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties securitySalt $SECRET
|
||||||
|
sed -i "s/String salt = .*/String salt = \"$SECRET\";/g" /var/lib/tomcat7/webapps/demo/bbb_api_conf.jsp
|
||||||
|
fi
|
||||||
|
|
||||||
sed -i "s/sharedSecret[ ]*=[ ]*\"[^\"]*\"/sharedSecret=\"$SECRET\"/g" \
|
sed -i "s/sharedSecret[ ]*=[ ]*\"[^\"]*\"/sharedSecret=\"$SECRET\"/g" \
|
||||||
/usr/share/bbb-apps-akka/conf/application.conf
|
/usr/share/bbb-apps-akka/conf/application.conf
|
||||||
|
|
||||||
@ -255,9 +261,7 @@ To interactively create API calls, here's a link to configure APIMate
|
|||||||
|
|
||||||
HERE
|
HERE
|
||||||
|
|
||||||
if [ -f /usr/bin/updatedb ]; then
|
updatedb
|
||||||
updatedb
|
|
||||||
fi
|
|
||||||
|
|
||||||
exec /usr/bin/supervisord > /var/log/supervisord.log
|
exec /usr/bin/supervisord > /var/log/supervisord.log
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user