1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/galene_ynh.git synced 2024-09-03 18:36:31 +02:00

Update Coturn_config_rotate.sh

This commit is contained in:
ericgaspar 2021-04-11 08:50:02 +02:00
parent 86f72b7b37
commit 1ed77d96c5

View file

@ -21,9 +21,9 @@ else
external_IP_line="${external_IP_line/'/__IPV6__'/}"
fi
old_config_line=$(egrep "^external-ip=.*\$" "/etc/$app/coturn.conf")
ynh_replace_string "^external-ip=.*\$" "$external_IP_line" "/etc/$app/coturn.conf"
new_config_line=$(egrep "^external-ip=.*\$" "/etc/$app/coturn.conf")
old_config_line=$(egrep "^external-ip=.*\$" "/etc/__APP__/coturn.conf")
ynh_replace_string "^external-ip=.*\$" "$external_IP_line" "/etc/__APP__/coturn.conf"
new_config_line=$(egrep "^external-ip=.*\$" "/etc/__APP__/coturn.conf")
setfacl -R -m user:turnserver:rX /etc/__APP__