diff options
author | Lukas Oertel | 2023-02-10 15:31:49 +0100 |
---|---|---|
committer | Lukas Oertel | 2023-02-10 15:31:49 +0100 |
commit | 90049d20a3e5170e93cd0a91e46f1b39b42bd2e3 (patch) | |
tree | a982ac818b5c6b7830342f31bc4838d219283aa9 | |
parent | e23a1db405b5181f66d2fad6636f89ec2c30948f (diff) |
Add script for post-update commands for our BBB instance
-rwxr-xr-x | scripts/bigbluebutton_post-update/bigbluebutton_post-update.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/bigbluebutton_post-update/bigbluebutton_post-update.sh b/scripts/bigbluebutton_post-update/bigbluebutton_post-update.sh new file mode 100755 index 0000000..0fd6646 --- /dev/null +++ b/scripts/bigbluebutton_post-update/bigbluebutton_post-update.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +# Author: Lukas Oertel <git@luoe.dev> +# +# Script to fix hostnames and ports after updating BigBlueButton on gina.fsi.uni-tuebingen.de +# Works on BigBlueButton 2.5.x + +sudo sed 's http://134.2.220.52:5066 https://134.2.220.52:7443 ' -i /usr/share/bigbluebutton/nginx/sip.nginx +sudo sed 's http://134.2.220.52/pad https://bbb.fsi.uni-tuebingen.de/pad ' -i /usr/share/meteor/bundle/programs/server/assets/app/config/settings.yml +sudo sed 's ws://134.2.220.52/bbb-webrtc-sfu wss://bbb.fsi.uni-tuebingen.de/bbb-webrtc-sfu ' -i /usr/share/meteor/bundle/programs/server/assets/app/config/settings.yml + +sudo systemctl restart nginx.service +sudo bbb-conf --restart |