diff --git a/scripts/install b/scripts/install index 2cfd7a8..ae7bc56 100644 --- a/scripts/install +++ b/scripts/install @@ -145,7 +145,7 @@ public_ip6="$(curl ipv6.yunohost.org)" || true if ( [[ -n "$public_ip4" ]] && ynh_validate_ip4 --ip_address="$public_ip4" || [[ -n "$public_ip6" ]] && ynh_validate_ip6 --ip_address="$public_ip6" ) then - echo "external-ip=${public_ip4},${public_ip6}" >> "$coturn_config_path" + echo "external-ip=${public_ip4}/${public_ip6}" >> "$coturn_config_path" fi ynh_store_file_checksum --file="$coturn_config_path" @@ -185,6 +185,7 @@ ynh_use_logrotate --logfile "/var/log/$app" # Set permissions to app files chown root: -R $data_path chown -R turnserver:root /var/log/$app +chown turnserver:root /etc/turnserver.conf setfacl -R -m user:turnserver:rwX /var/log/$app #=================================================