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:
parent
59f19c8692
commit
97ad3b2739
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue