forked from coop-cloud/nextcloud
Add install_bbb app command
This commit is contained in:
parent
8a3283e398
commit
95b902f7ab
18
abra.sh
18
abra.sh
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue