Merge pull request #6773 from ffdixon/fix-bbb-conf-20

Ensure default.yml is owned by bigbluebutton
This commit is contained in:
Fred Dixon 2019-02-12 20:19:19 -08:00 committed by GitHub
commit e04365f84b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1955,9 +1955,10 @@ if [ -n "$HOST" ]; then
change_yml_value $HTML5_CONFIG wsUrl "$WS/bbb-webrtc-sfu"
if [ -f /usr/local/bigbluebutton/bbb-webrtc-sfu/config/default.yml ]; then
yq w -i /usr/local/bigbluebutton/bbb-webrtc-sfu/config/default.yml kurento[0].url "ws://$HOST:8888/kurento"
fi
if [ -f $KURENTO_CONFIG ]; then
yq w -i $KURENTO_CONFIG kurento[0].url "ws://$HOST:8888/kurento"
chown bigbluebutton:bigbluebutton $KURENTO_CONFIG
fi
fi
#