mirror of
https://github.com/YunoHost-Apps/mautrix_signal_ynh.git
synced 2024-09-03 19:46:07 +02:00
Fix appending the logrotate config twice during upgrade
Closes https://github.com/YunoHost-Apps/mautrix_signal_ynh/issues/49
This commit is contained in:
parent
883c3d7708
commit
381393ebcd
1 changed files with 1 additions and 1 deletions
|
@ -173,7 +173,7 @@ ynh_add_systemd_config
|
|||
ynh_script_progression --message="Upgrading logrotate configuration..." --weight=1
|
||||
|
||||
# Use logrotate to manage app-specific logfile(s)
|
||||
ynh_use_logrotate
|
||||
ynh_use_logrotate --nonappend
|
||||
chmod -R 600 "/var/log/$app"
|
||||
chmod 700 "/var/log/$app"
|
||||
chown -R $app:$app /var/log/$app
|
||||
|
|
Loading…
Reference in a new issue