1
0
Fork 0
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:
ericgaspar 2021-02-20 18:35:59 +01:00
parent 73aa0a707a
commit 6211d21674
No known key found for this signature in database
GPG key ID: 574F281483054D44
3 changed files with 6 additions and 2 deletions

View file

@ -6,11 +6,11 @@
"en": "VoIP media traffic NAT traversal server and gateway", "en": "VoIP media traffic NAT traversal server and gateway",
"fr": "Serveur et passerelle NAT du trafic média VoIP" "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", "url": "https://github.com/coturn/coturn",
"license": "BSD-3-Clause", "license": "BSD-3-Clause",
"maintainer": { "maintainer": {
"name": "", "name": "eric_G",
"email": "" "email": ""
}, },
"requirements": { "requirements": {

View file

@ -148,6 +148,8 @@ data_path="/home/yunohost.app/$app"
mkdir -p $data_path mkdir -p $data_path
cp -f ../sources/Coturn_config_rotate.sh $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="__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 chmod +x $data_path/Coturn_config_rotate.sh
#================================================= #=================================================

View file

@ -124,6 +124,8 @@ data_path="/home/yunohost.app/$app"
mkdir -p $data_path mkdir -p $data_path
cp -f ../sources/Coturn_config_rotate.sh $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="__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 chmod +x $data_path/Coturn_config_rotate.sh
#================================================= #=================================================