diff --git a/scripts/install b/scripts/install index 9647219..e8e3a7b 100755 --- a/scripts/install +++ b/scripts/install @@ -147,7 +147,7 @@ set_permissions #================================================= # SETUP LOGROTATE #================================================= -ynh_script_progression --message="Configuring log rotation..." --time --weight=1 +ynh_script_progression --message="Configuring log rotation..." --weight=1 # Use logrotate to manage application logfile(s) ynh_use_logrotate diff --git a/scripts/restore b/scripts/restore index ec57d65..b8b96d6 100755 --- a/scripts/restore +++ b/scripts/restore @@ -91,7 +91,7 @@ systemctl enable $app.service --quiet #================================================= # RESTORE THE LOGROTATE CONFIGURATION #================================================= -ynh_script_progression --message="Restoring the logrotate configuration..." --time --weight=1 +ynh_script_progression --message="Restoring the logrotate configuration..." --weight=1 ynh_use_logrotate --non-append ynh_restore_file --origin_path="/etc/logrotate.d/$app"