mirror of
https://github.com/YunoHost-Apps/coturn_ynh.git
synced 2024-09-03 18:16:32 +02:00
Add missing variables
This commit is contained in:
parent
73aa0a707a
commit
6211d21674
3 changed files with 6 additions and 2 deletions
|
@ -6,11 +6,11 @@
|
|||
"en": "VoIP media traffic NAT traversal server and gateway",
|
||||
"fr": "Serveur et passerelle NAT du trafic média VoIP"
|
||||
},
|
||||
"version": "4.5.1.1~ynh1",
|
||||
"version": "4.5.1.1~ynh2",
|
||||
"url": "https://github.com/coturn/coturn",
|
||||
"license": "BSD-3-Clause",
|
||||
"maintainer": {
|
||||
"name": "",
|
||||
"name": "eric_G",
|
||||
"email": ""
|
||||
},
|
||||
"requirements": {
|
||||
|
|
|
@ -148,6 +148,8 @@ data_path="/home/yunohost.app/$app"
|
|||
mkdir -p $data_path
|
||||
cp -f ../sources/Coturn_config_rotate.sh $data_path/
|
||||
ynh_replace_string --match_string="__APP__" --replace_string=$app --target_file=$data_path/Coturn_config_rotate.sh
|
||||
ynh_replace_string --match_string="__IPV4__" --replace_string=$public_ip4 --target_file=$data_path/Coturn_config_rotate.sh
|
||||
ynh_replace_string --match_string="__IPV6__" --replace_string=$public_ip6 --target_file=$data_path/Coturn_config_rotate.sh
|
||||
chmod +x $data_path/Coturn_config_rotate.sh
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -124,6 +124,8 @@ data_path="/home/yunohost.app/$app"
|
|||
mkdir -p $data_path
|
||||
cp -f ../sources/Coturn_config_rotate.sh $data_path/
|
||||
ynh_replace_string --match_string="__APP__" --replace_string=$app --target_file=$data_path/Coturn_config_rotate.sh
|
||||
ynh_replace_string --match_string="__IPV4__" --replace_string=$public_ip4 --target_file=$data_path/Coturn_config_rotate.sh
|
||||
ynh_replace_string --match_string="__IPV6__" --replace_string=$public_ip6 --target_file=$data_path/Coturn_config_rotate.sh
|
||||
chmod +x $data_path/Coturn_config_rotate.sh
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue