From e3836402d73b22c6f35f68c3bd6908e3dfda0c48 Mon Sep 17 00:00:00 2001 From: lapineige Date: Wed, 27 Jul 2022 07:31:24 +0200 Subject: [PATCH] Setup logrotate --- scripts/restore | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/restore b/scripts/restore index 17a42dc..333f8dc 100644 --- a/scripts/restore +++ b/scripts/restore @@ -78,6 +78,13 @@ ynh_script_progression --message="Restoring the PHP-FPM configuration..." ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf" +#================================================= +# RESTORE THE LOGROTATE CONFIGURATION +#================================================= +ynh_script_progression --message="Restoring the logrotate configuration..." + +ynh_restore_file --origin_path="/etc/logrotate.d/$app" + #================================================= # RESTORE FAIL2BAN CONFIGURATION #=================================================