On Tue, 3 May 2011 13:03:25 -0500 (CDT) Robert Bonomi <bon...@mail.r-bonomi.com> wrote:
> > From owner-freebsd-questi...@freebsd.org Tue May 3 12:17:12 2011 > > Date: Tue, 3 May 2011 12:40:37 -0400 > > From: Janos Dohanics <w...@3dresearch.com> > > To: freebsd-questions@freebsd.org > > Subject: /etc/newsyslog.conf and denyhosts > > > > What is the correct way to rotate denyhosts log files? > > > > In /etc/newsyslog.conf I have: > > > > /var/log/denyhosts 644 12 * > > $M1D0 JC /var/run/denyhosts.pid > > > > However, denyhosts does not log in the new file. > > Denyhosts has to be informed that the logfile has changed, so that it > can close and re-open the logfile. It may be possible by sending it > a 'signal', or you may have to kill/restart it. See the > documentation for denyhosts. > > Newsyslog itself does _not_ notify/restart any daemons you have to > do this yourself. Thank you, I'll just set up a cron job to restart it -- Janos Dohanics _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"