Add install_bbb app command
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Philipp Rothmann 2022-11-16 15:48:21 +01:00
parent 0278daa5b6
commit 8a3e9f1317

18
abra.sh
View File

@ -1,3 +1,5 @@
#!/bin/bash
export FPM_TUNE_VERSION=v4
export NGINX_CONF_VERSION=v4
export MY_CNF_VERSION=v4
@ -18,3 +20,19 @@ install_apps(){
run_occ "app:install $app"
done
}
set_app_config(){
APP=$1
KEY=$2
VALUE=$3
run_occ "config:app:set $APP $KEY --value $VALUE"
}
install_bbb(){
URL=$1 # https://talk.example.org/bigbluebutton/ (trailing slash!)
SECRET=$2 # bbb secret key
install_apps bbb
set_app_config bbb app.navigation true
set_app_config bbb api.url "$URL"
set_app_config bbb api.secret "$SECRET"
}