From 472a7b31ce3d0fe9bd70a2c6e3faca31300f4409 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Thu, 10 Sep 2009 11:05:56 -0400 Subject: [PATCH] BF: use "set logtartet" instead of "reload" while logrotate. Thanks J.M.Roth (Closes: #537773) --- debian/fail2ban.logrotate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/fail2ban.logrotate b/debian/fail2ban.logrotate index e3a9ab8a..78137684 100644 --- a/debian/fail2ban.logrotate +++ b/debian/fail2ban.logrotate @@ -7,7 +7,7 @@ delaycompress missingok postrotate - invoke-rc.d --quiet fail2ban reload >/dev/null + fail2ban-client set logtarget /var/log/fail2ban.log >/dev/null endscript create 640 root adm }