mirror of
https://github.com/YunoHost-Apps/coturn_ynh.git
synced 2024-09-03 18:16:32 +02:00
Fix
This commit is contained in:
parent
f23e7fc25f
commit
2474d3efad
3 changed files with 2 additions and 3 deletions
|
@ -115,7 +115,7 @@ ynh_print_ON
|
|||
|
||||
coturn_config_path="/etc/turnserver.conf"
|
||||
|
||||
ynh_add_config --template="/etc/turnserver.conf" --destination="$coturn_config_path"
|
||||
ynh_add_config --template="../conf/turnserver.conf" --destination="$coturn_config_path"
|
||||
|
||||
# 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
|
||||
|
|
|
@ -55,7 +55,6 @@ ynh_remove_app_dependencies
|
|||
ynh_script_progression --message="Removing Coturn configuration file..." --weight=2
|
||||
|
||||
ynh_secure_remove --file="/etc/turnserver.conf"
|
||||
mv /etc/turnserver.conf.orig /etc/turnserver.conf
|
||||
|
||||
#=================================================
|
||||
# REMOVE LOGROTATE CONFIGURATION
|
||||
|
|
|
@ -89,7 +89,7 @@ ynh_script_progression --message="Configuring Coturn..." --weight=2
|
|||
|
||||
coturn_config_path="/etc/turnserver.conf"
|
||||
|
||||
ynh_add_config --template="/etc/turnserver.conf" --destination="$coturn_config_path"
|
||||
ynh_add_config --template="../conf/turnserver.conf" --destination="$coturn_config_path"
|
||||
|
||||
# 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
|
||||
|
|
Loading…
Add table
Reference in a new issue