mirror of
https://github.com/YunoHost-Apps/galene_ynh.git
synced 2024-09-03 18:36:31 +02:00
Update install
This commit is contained in:
parent
99c0070f25
commit
4e0e3a4d73
1 changed files with 3 additions and 3 deletions
|
@ -161,7 +161,7 @@ ynh_add_systemd_config --service=coturn-$app --template=coturn-galene.service
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Configuring coturn..." --weight=1
|
ynh_script_progression --message="Configuring coturn..." --weight=1
|
||||||
|
|
||||||
# WARNING : theses command are used in INSTALL, UPGRADE
|
# WARNING: theses command are used in INSTALL, UPGRADE
|
||||||
# For any update do it in all files
|
# For any update do it in all files
|
||||||
|
|
||||||
# Find password for turnserver
|
# Find password for turnserver
|
||||||
|
@ -184,7 +184,7 @@ ynh_replace_string --match_string=__TURNPWD__ --replace_string=$turnserver_pwd -
|
||||||
ynh_print_ON
|
ynh_print_ON
|
||||||
|
|
||||||
# Get public IP and set as external IP for coturn
|
# Get public IP and set as external IP for coturn
|
||||||
# note : '|| true' is used to ignore the errors if we can't get the public ipv4 or ipv6
|
# note: '|| true' is used to ignore the errors if we can't get the public ipv4 or ipv6
|
||||||
public_ip4="$(curl ip.yunohost.org)" || true
|
public_ip4="$(curl ip.yunohost.org)" || true
|
||||||
public_ip6="$(curl ipv6.yunohost.org)" || true
|
public_ip6="$(curl ipv6.yunohost.org)" || true
|
||||||
|
|
||||||
|
@ -209,7 +209,7 @@ cp ../conf/passwd $final_path/data/passwd
|
||||||
ynh_replace_string --match_string=__ADMIN__ --replace_string=$admin --target_file="$final_path/data/passwd"
|
ynh_replace_string --match_string=__ADMIN__ --replace_string=$admin --target_file="$final_path/data/passwd"
|
||||||
ynh_replace_string --match_string=__PASSWORD__ --replace_string=$password --target_file="$final_path/data/passwd"
|
ynh_replace_string --match_string=__PASSWORD__ --replace_string=$password --target_file="$final_path/data/passwd"
|
||||||
|
|
||||||
mv ../conf/groupname.json $final_path/groups/$group_name.json
|
cp ../conf/groupname.json $final_path/groups/$group_name.json
|
||||||
|
|
||||||
ynh_replace_string --match_string=__ADMIN__ --replace_string=$admin --target_file="$final_path/groups/$group_name.json"
|
ynh_replace_string --match_string=__ADMIN__ --replace_string=$admin --target_file="$final_path/groups/$group_name.json"
|
||||||
ynh_replace_string --match_string=__PASSWORD__ --replace_string=$password --target_file="$final_path/groups/$group_name.json"
|
ynh_replace_string --match_string=__PASSWORD__ --replace_string=$password --target_file="$final_path/groups/$group_name.json"
|
||||||
|
|
Loading…
Reference in a new issue