1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mautrix_signal_ynh.git synced 2024-09-03 19:46:07 +02:00

Update restore

Fix permission for config.yaml
This commit is contained in:
CodeShakingSheep 2024-06-11 13:24:23 -05:00 committed by Félix Piédallu
parent 0d08958fd7
commit 0481b6776a

View file

@ -48,7 +48,7 @@ ynh_script_progression --message="Registering Synapse app-service" --weight=1
$install_dir/mautrix-signal -g -c $install_dir/config.yaml -r /etc/matrix-$synapse_instance/app-service/$app.yaml
/opt/yunohost/matrix-$synapse_instance/update_synapse_for_appservice.sh || ynh_die --message="Synapse can't restart with the appservice configuration"
chown -R $app:$app "$install_dir"
chown -R $app:$app "$install_dir/config.yaml"
ynh_store_file_checksum --file="/etc/matrix-$synapse_instance/app-service/$app.yaml"
ynh_store_file_checksum --file="$install_dir/config.yaml"