mirror of
https://github.com/YunoHost-Apps/mautrix_signal_ynh.git
synced 2024-09-03 19:46:07 +02:00
Merge pull request #60 from YunoHost-Apps/noappend-logrotate-fix
Noappend logrotate fix
This commit is contained in:
commit
eac58593ca
3 changed files with 2 additions and 4 deletions
|
@ -19,7 +19,6 @@ A puppeting bridge between Matrix and Signal packaged as a YunoHost service. Mes
|
||||||
|
|
||||||
|
|
||||||
**Shipped version:** 0.3.0~ynh1
|
**Shipped version:** 0.3.0~ynh1
|
||||||
|
|
||||||
## Disclaimers / important information
|
## Disclaimers / important information
|
||||||
|
|
||||||
## List of known public services
|
## List of known public services
|
||||||
|
|
|
@ -21,8 +21,7 @@ La passerelle ["Mautrix-Signal"](https://docs.mau.fi/bridges/python/signal/index
|
||||||
** Attention : sauvegardez et restaurez toujours les deux applications Yunohost matrix-synapse et mautrix_signal en même temps!**
|
** Attention : sauvegardez et restaurez toujours les deux applications Yunohost matrix-synapse et mautrix_signal en même temps!**
|
||||||
|
|
||||||
|
|
||||||
**Version incluse :** 0.3.0~ynh1
|
**Version incluse :** 0.3.0~ynh1
|
||||||
|
|
||||||
## Avertissements / informations importantes
|
## Avertissements / informations importantes
|
||||||
|
|
||||||
## Liste de passerelles publiques
|
## Liste de passerelles publiques
|
||||||
|
|
|
@ -173,7 +173,7 @@ ynh_add_systemd_config
|
||||||
ynh_script_progression --message="Upgrading logrotate configuration..." --weight=1
|
ynh_script_progression --message="Upgrading logrotate configuration..." --weight=1
|
||||||
|
|
||||||
# Use logrotate to manage app-specific logfile(s)
|
# Use logrotate to manage app-specific logfile(s)
|
||||||
ynh_use_logrotate
|
ynh_use_logrotate --nonappend
|
||||||
chmod -R 600 "/var/log/$app"
|
chmod -R 600 "/var/log/$app"
|
||||||
chmod 700 "/var/log/$app"
|
chmod 700 "/var/log/$app"
|
||||||
chown -R $app:$app /var/log/$app
|
chown -R $app:$app /var/log/$app
|
||||||
|
|
Loading…
Add table
Reference in a new issue