mirror of
https://github.com/YunoHost-Apps/galene_ynh.git
synced 2024-09-03 18:36:31 +02:00
Fix
This commit is contained in:
parent
97a98e16c2
commit
8392c7495f
2 changed files with 8 additions and 2 deletions
|
@ -233,7 +233,10 @@ ynh_use_logrotate --logfile "/var/log/$app"
|
||||||
# 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
|
||||||
|
|
||||||
ynh_add_config --template="../sources/Coturn_config_rotate.sh" --destination="$final_path/Coturn_config_rotate.sh"
|
cp ../sources/Coturn_config_rotate.sh $final_path/Coturn_config_rotate.sh
|
||||||
|
ynh_replace_string --match_string=__APP__ --replace_string=$app --target_file="$final_path/Coturn_config_rotate.sh"
|
||||||
|
ynh_replace_string --match_string=__IPV4__ --replace_string=$public_ip4 --target_file="$final_path/Coturn_config_rotate.sh"
|
||||||
|
ynh_replace_string --match_string=__IPV6__ --replace_string=$public_ip6 --target_file="$final_path/Coturn_config_rotate.sh"
|
||||||
chmod +x $final_path/Coturn_config_rotate.sh
|
chmod +x $final_path/Coturn_config_rotate.sh
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -201,7 +201,10 @@ ynh_store_file_checksum --file="$coturn_config_path"
|
||||||
# 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
|
||||||
|
|
||||||
ynh_add_config --template="../sources/Coturn_config_rotate.sh" --destination="$final_path/Coturn_config_rotate.sh"
|
cp ../sources/Coturn_config_rotate.sh $final_path/Coturn_config_rotate.sh
|
||||||
|
ynh_replace_string --match_string=__APP__ --replace_string=$app --target_file="$final_path/Coturn_config_rotate.sh"
|
||||||
|
ynh_replace_string --match_string=__IPV4__ --replace_string=$public_ip4 --target_file="$final_path/Coturn_config_rotate.sh"
|
||||||
|
ynh_replace_string --match_string=__IPV6__ --replace_string=$public_ip6 --target_file="$final_path/Coturn_config_rotate.sh"
|
||||||
chmod +x $final_path/Coturn_config_rotate.sh
|
chmod +x $final_path/Coturn_config_rotate.sh
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue