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

Update update_synapse_for_appservice.sh

This commit is contained in:
Gredin67 2020-10-01 00:29:01 +02:00 committed by GitHub
parent 9c706742d3
commit 9b75cf0b28
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,6 +9,7 @@ cp $service_config_file /tmp/app_service_backup.yaml
echo "app_service_config_files:" > $service_config_file echo "app_service_config_files:" > $service_config_file
for f in $(ls /etc/matrix-$app/app-service/); do for f in $(ls /etc/matrix-$app/app-service/); do
echo " - /etc/matrix-$app/app-service/$f" >> $service_config_file echo " - /etc/matrix-$app/app-service/$f" >> $service_config_file
chmod 600 /etc/matrix-$app/app-service/$f
done done
# Set permissions # Set permissions