mirror of
https://github.com/YunoHost-Apps/jitsi_ynh.git
synced 2024-09-03 19:35:57 +02:00
fix uuidgen error
This commit is contained in:
parent
e74c523af7
commit
02b5750388
1 changed files with 3 additions and 3 deletions
|
@ -41,8 +41,6 @@ focus_user="focus"
|
||||||
|
|
||||||
videobridge_user="jvb"
|
videobridge_user="jvb"
|
||||||
|
|
||||||
muc_nickname=$(uuidgen)
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# CHECK IF THE APP CAN BE INSTALLED WITH THESE ARGS
|
# CHECK IF THE APP CAN BE INSTALLED WITH THESE ARGS
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -66,7 +64,6 @@ ynh_app_setting_set --app=$app --key=videobridge_secret --value=$videobridge_sec
|
||||||
ynh_app_setting_set --app=$app --key=focus_secret --value=$focus_secret
|
ynh_app_setting_set --app=$app --key=focus_secret --value=$focus_secret
|
||||||
ynh_app_setting_set --app=$app --key=focus_user --value=$focus_user
|
ynh_app_setting_set --app=$app --key=focus_user --value=$focus_user
|
||||||
ynh_app_setting_set --app=$app --key=videobridge_user --value=$videobridge_user
|
ynh_app_setting_set --app=$app --key=videobridge_user --value=$videobridge_user
|
||||||
ynh_app_setting_set --app=$app --key=muc_nickname --value=$muc_nickname
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# STANDARD MODIFICATIONS
|
# STANDARD MODIFICATIONS
|
||||||
|
@ -201,6 +198,9 @@ ynh_print_info --message="Configuring Jitsi-Videobridge..."
|
||||||
public_ipv4="$(curl ip.yunohost.org)" || true
|
public_ipv4="$(curl ip.yunohost.org)" || true
|
||||||
private_ipv4="$(ip route get 1 | sed -n 's/^.*src \([0-9.]*\) .*$/\1/p')" || true
|
private_ipv4="$(ip route get 1 | sed -n 's/^.*src \([0-9.]*\) .*$/\1/p')" || true
|
||||||
|
|
||||||
|
muc_nickname=$(uuidgen)
|
||||||
|
ynh_app_setting_set --app=$app --key=muc_nickname --value=$muc_nickname
|
||||||
|
|
||||||
mkdir -p "/etc/$app/videobridge"
|
mkdir -p "/etc/$app/videobridge"
|
||||||
|
|
||||||
jitsi_videobridge_sip_communicator_conf="/etc/$app/videobridge/sip-communicator.properties"
|
jitsi_videobridge_sip_communicator_conf="/etc/$app/videobridge/sip-communicator.properties"
|
||||||
|
|
Loading…
Reference in a new issue