From 34bfff4dd4e5e36c798b1718de600d2d98968c65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Mon, 4 Nov 2019 20:27:16 +0100 Subject: [PATCH] Fix log rotation --- scripts/install | 2 +- scripts/restore | 2 +- scripts/upgrade | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index 749d946..7f5f311 100755 --- a/scripts/install +++ b/scripts/install @@ -92,7 +92,7 @@ python3 add_sso_conf.py # SETUP LOGROTATE ynh_script_progression --message="Configuring log rotation..." -ynh_use_logrotate --logfile /var/log/$app/sogo.log --non-append +ynh_use_logrotate --logfile /var/log/$app/sogo.log --nonappend # Restart services ynh_script_progression --message="Starting sogo services..." --weight=3 diff --git a/scripts/restore b/scripts/restore index e242188..e0e6ffe 100755 --- a/scripts/restore +++ b/scripts/restore @@ -58,7 +58,7 @@ set_permission python3 ../settings/scripts/add_sso_conf.py # SETUP LOGROTATE -ynh_use_logrotate --logfile /var/log/$app/sogo.log --non-append +ynh_use_logrotate --logfile /var/log/$app/sogo.log --nonappend # Restart services ynh_script_progression --message="Starting SOGo services..." --weight=3 diff --git a/scripts/upgrade b/scripts/upgrade index 7a26ad2..557b88a 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -116,7 +116,7 @@ python3 add_sso_conf.py # SETUP LOGROTATE ynh_script_progression --message="Configuring log rotation..." -ynh_use_logrotate --logfile /var/log/$app/sogo.log +ynh_use_logrotate --logfile /var/log/$app/sogo.log --nonappend # Restart services ynh_script_progression --message="Starting SOGo services..." --weight=3