From 622f8609f702ff230866c299c57e0efb042c4e24 Mon Sep 17 00:00:00 2001 From: Gredin67 <35761345+Gredin67@users.noreply.github.com> Date: Mon, 28 Sep 2020 22:27:12 +0200 Subject: [PATCH] Update update_synapse_for_appservice.sh --- sources/update_synapse_for_appservice.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/update_synapse_for_appservice.sh b/sources/update_synapse_for_appservice.sh index fef9ed8..581d333 100644 --- a/sources/update_synapse_for_appservice.sh +++ b/sources/update_synapse_for_appservice.sh @@ -12,7 +12,7 @@ for f in $(ls /etc/matrix-$app/app-service/); do done # Set permissions -chown matrix-$app $service_config_file +chown -R /etc/matrix-$app --reference=$service_config_file chmod 600 $service_config_file systemctl restart matrix-$app