fedora-users October 2011 archive
Main Archive Page > Month Archives  > fedora-users archives
fedora-users: Re: fail2ban vs. logrotate

Re: fail2ban vs. logrotate

From: Andre Speelmans <fedora-list_at_nospam>
Date: Tue Oct 25 2011 - 16:28:19 GMT
To: Community support for Fedora users <users@lists.fedoraproject.org>

> It looks like you would have to modify the syslog logrotate script
> and add a second command in the postrotate section after it restarts
> syslogd. Does fail2ban accept a SIGHUP to close and reopen the log file?

Or make it do copy-truncate, which is meant just for these cases where
a daemon keeps a handle to the file.

-- Kind regards, André -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines