From 2026d32391f8e31892b03ff177288a10f460141a Mon Sep 17 00:00:00 2001 From: farvardin Date: Mon, 27 Apr 2020 19:57:43 +0200 Subject: [PATCH] disable logrotate --- scripts/install | 2 +- scripts/restore | 2 +- scripts/upgrade | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/install b/scripts/install index 03a1fb5..216ff6c 100644 --- a/scripts/install +++ b/scripts/install @@ -335,7 +335,7 @@ ynh_script_progression --message="Configuring log rotation..." --time --weight=1 ### - And the section "SETUP LOGROTATE" in the upgrade script # Use logrotate to manage application logfile(s) -ynh_use_logrotate +# ynh_use_logrotate #================================================= # INTEGRATE SERVICE IN YUNOHOST diff --git a/scripts/restore b/scripts/restore index 6dec45f..89321df 100644 --- a/scripts/restore +++ b/scripts/restore @@ -132,7 +132,7 @@ ynh_install_app_dependencies $pkg_dependencies # RESTORE THE LOGROTATE CONFIGURATION #================================================= -ynh_restore_file --origin_path="/etc/logrotate.d/$app" +#ynh_restore_file --origin_path="/etc/logrotate.d/$app" #================================================= # GENERIC FINALIZATION diff --git a/scripts/upgrade b/scripts/upgrade index 7f89680..9acf3c7 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -160,10 +160,10 @@ ynh_store_file_checksum --file="$final_path/CONFIG_FILE" #================================================= # SETUP LOGROTATE #================================================= -ynh_script_progression --message="Upgrading logrotate configuration..." --time --weight=1 +# ynh_script_progression --message="Upgrading logrotate configuration..." --time --weight=1 # Use logrotate to manage app-specific logfile(s) -ynh_use_logrotate --non-append +# ynh_use_logrotate --non-append #================================================= # SETUP SYSTEMD