From 88e078661c230a9fe694624367b4b152950ae894 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Mon, 4 Nov 2019 20:30:33 +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 f031ab2..4568211 100755 --- a/scripts/install +++ b/scripts/install @@ -167,7 +167,7 @@ fi # SETUP LOGROTATE ynh_script_progression --message="Configuring log rotation..." -ynh_use_logrotate $final_path/horde --non-append --specific_user www-data/horde +ynh_use_logrotate $final_path/horde --nonappend --specific_user www-data/horde ynh_use_logrotate $final_path/horde/services --append --specific_user www-data/horde ynh_use_logrotate $final_path/horde/services/portal --append --specific_user www-data/horde diff --git a/scripts/restore b/scripts/restore index 214e918..4a3fda3 100755 --- a/scripts/restore +++ b/scripts/restore @@ -58,7 +58,7 @@ set_permission # SETUP LOGROTATE ynh_script_progression --message="Configuring log rotation..." -ynh_use_logrotate $final_path/horde --non-append --specific_user www-data/horde +ynh_use_logrotate $final_path/horde --nonappend --specific_user www-data/horde ynh_use_logrotate $final_path/horde/services --append --specific_user www-data/horde ynh_use_logrotate $final_path/horde/services/portal --append --specific_user www-data/horde diff --git a/scripts/upgrade b/scripts/upgrade index 3ef0f76..dee9cef 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -75,7 +75,7 @@ set_permission # SETUP LOGROTATE ynh_script_progression --message="Configuring log rotation..." -ynh_use_logrotate $final_path/horde --non-append --specific_user www-data/horde +ynh_use_logrotate $final_path/horde --nonappend --specific_user www-data/horde ynh_use_logrotate $final_path/horde/services --append --specific_user www-data/horde ynh_use_logrotate $final_path/horde/services/portal --append --specific_user www-data/horde