diff --git a/README.md b/README.md index 9af8856..8ecbfd0 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ Therefore, [Synapse for YunoHost](https://github.com/YunoHost-Apps/synapse_ynh) ** Attention: always backup and restore the Yunohost matrix_synapse et mautrix_whatsapp apps together!** -**Shipped version:** 0.5.0~ynh1 +**Shipped version:** 0.5.0~ynh2 ## Disclaimers / important information ### List of known public services diff --git a/README_fr.md b/README_fr.md index 62237b7..cc72c34 100644 --- a/README_fr.md +++ b/README_fr.md @@ -24,7 +24,7 @@ C'est pourquoi [Synapse for YunoHost](https://github.com/YunoHost-Apps/synapse_y ** Attention : sauvegardez et restaurez toujours les deux applications Yunohost matrix_synapse et mautrix_whatsapp en même temps!** -**Version incluse :** 0.5.0~ynh1 +**Version incluse :** 0.5.0~ynh2 ## Avertissements / informations importantes ### Liste de passerelles publiques diff --git a/manifest.json b/manifest.json index 63b993e..99a36f4 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Matrix / Synapse puppeting bridge for WhatsApp", "fr": "Passerelle Matrix / Synapse pour WhatsApp" }, - "version": "0.5.0~ynh1", + "version": "0.5.0~ynh2", "url": "https://github.com/mautrix/whatsapp", "upstream": { "license": "AGPL-3.0-or-later", diff --git a/scripts/upgrade b/scripts/upgrade index 11ff7f4..ed3d748 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -202,7 +202,7 @@ ynh_store_file_checksum --file="/etc/matrix-$synapse_instance/app-service/$app.y ynh_script_progression --message="Upgrading logrotate configuration..." --weight=1 # Use logrotate to manage application logfile(s) -ynh_use_logrotate --logfile "/var/log/$app/$app.log" --specific_user $app/$app +ynh_use_logrotate --non-append --logfile "/var/log/$app/$app.log" --specific_user $app/$app chmod -R 600 "/var/log/$app" chmod 700 "/var/log/$app" chown -R $app:$app /var/log/$app