From 6a9ed3501a6d3e1e80188c410abd1dcf58e3e25b Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Fri, 10 Nov 2006 15:54:34 +0000 Subject: [PATCH] * Reincarnated logrotate configuration (Closes: #397878) * no logrotation anymore? (Closes: #397878) --- debian/changelog | 9 ++++++++- debian/fail2ban.logrotate | 5 ++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index af27b6e4..72974f6f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +fail2ban (0.7.4-3) unstable; urgency=low + + * Reincarnated logrotate configuration (Closes: #397878) + + -- Yaroslav Halchenko Fri, 10 Nov 2006 10:53:39 -0500 + fail2ban (0.7.4-2) unstable; urgency=low * Added reload/force-reload actions to init script @@ -5,8 +11,9 @@ fail2ban (0.7.4-2) unstable; urgency=low * Warning NEWS entry for 0.7.1 was not shown during installation on test boxes, thus postinst was adjusted accordingly to inform the user about the changes in the configuration files since 0.6. + * no logrotation anymore? (Closes: #397878) - -- Yaroslav Halchenko Mon, 6 Nov 2006 09:18:58 -0500 + -- Yaroslav Halchenko Fri, 10 Nov 2006 10:53:23 -0500 fail2ban (0.7.4-1) experimental; urgency=low diff --git a/debian/fail2ban.logrotate b/debian/fail2ban.logrotate index fe745f64..e3a9ab8a 100644 --- a/debian/fail2ban.logrotate +++ b/debian/fail2ban.logrotate @@ -1,10 +1,13 @@ /var/log/fail2ban.log { + weekly rotate 4 compress + + delaycompress missingok postrotate - /etc/init.d/fail2ban restart >/dev/null + invoke-rc.d --quiet fail2ban reload >/dev/null endscript create 640 root adm }