1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/synapse_ynh.git synced 2024-09-03 20:26:38 +02:00

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.
This commit is contained in:
Nathanaël 2024-04-17 15:41:08 +02:00 committed by GitHub
parent 62a94a7da9
commit 77aca763d6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -18,8 +18,8 @@ for f in $(ls /etc/matrix-$app/app-service/); do
done done
# Set permissions # Set permissions
chown matrix-$app $service_config_file chown $app $service_config_file
chown matrix-$app /etc/matrix-$app/app-service/* chown $app /etc/matrix-$app/app-service/*
chmod 600 $service_config_file chmod 600 $service_config_file
chmod 600 /etc/matrix-$app/app-service/* chmod 600 /etc/matrix-$app/app-service/*