From 77aca763d65d97028ffc297a2282d2704ba53c45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nathana=C3=ABl?= <7300309+nathanael-h@users.noreply.github.com> Date: Wed, 17 Apr 2024 15:41:08 +0200 Subject: [PATCH] chg: fix user in update_synapse_for_appservice.sh Since the migration to the packaging v2 in https://github.com/YunoHost-Apps/synapse_ynh/pull/426 the system user for this app is $app and not matrix-$app anymore. --- sources/update_synapse_for_appservice.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sources/update_synapse_for_appservice.sh b/sources/update_synapse_for_appservice.sh index bf6979c..5abacfe 100644 --- a/sources/update_synapse_for_appservice.sh +++ b/sources/update_synapse_for_appservice.sh @@ -18,8 +18,8 @@ for f in $(ls /etc/matrix-$app/app-service/); do done # Set permissions -chown matrix-$app $service_config_file -chown matrix-$app /etc/matrix-$app/app-service/* +chown $app $service_config_file +chown $app /etc/matrix-$app/app-service/* chmod 600 $service_config_file chmod 600 /etc/matrix-$app/app-service/*