1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/coturn_ynh.git synced 2024-09-03 18:16:32 +02:00

Update install

This commit is contained in:
ericgaspar 2021-01-25 15:40:59 +01:00
parent 59f19c8692
commit 97ad3b2739
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

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