From 4f4830654d3cd6765fb8727e5101c028e14f94f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Mon, 20 Aug 2018 14:12:42 +0200 Subject: [PATCH] Restart coturn in update coturn config script --- sources/Coturn_config_rotate.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sources/Coturn_config_rotate.sh b/sources/Coturn_config_rotate.sh index 1112730..e01c3fc 100644 --- a/sources/Coturn_config_rotate.sh +++ b/sources/Coturn_config_rotate.sh @@ -25,6 +25,8 @@ fi ynh_replace_string "^external-ip=.*\$" "$external_IP_line" "/etc/matrix-$app_instance/coturn.conf" -setfacl -R -m user:turnserver:rX /etc/matrix-$app +setfacl -R -m user:turnserver:rX /etc/matrix-$app_instance + +systemctl restart coturn-$app_instance.service exit 0