Add install_bbb app command
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
0278daa5b6
commit
8a3e9f1317
18
abra.sh
18
abra.sh
@ -1,3 +1,5 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
export FPM_TUNE_VERSION=v4
|
export FPM_TUNE_VERSION=v4
|
||||||
export NGINX_CONF_VERSION=v4
|
export NGINX_CONF_VERSION=v4
|
||||||
export MY_CNF_VERSION=v4
|
export MY_CNF_VERSION=v4
|
||||||
@ -18,3 +20,19 @@ install_apps(){
|
|||||||
run_occ "app:install $app"
|
run_occ "app:install $app"
|
||||||
done
|
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…
x
Reference in New Issue
Block a user