1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/coturn_ynh.git synced 2024-09-03 18:16:32 +02:00
This commit is contained in:
ericgaspar 2021-04-26 19:28:27 +02:00
parent f23e7fc25f
commit 2474d3efad
No known key found for this signature in database
GPG key ID: 574F281483054D44
3 changed files with 2 additions and 3 deletions

View file

@ -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

View file

@ -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

View file

@ -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