On Tue, Jun 08, 2004 at 08:28:19AM +1000, Bill Maidment said:
> Todd Lyons wrote:
>
> >Similar to this:
> >
> >[EMAIL PROTECTED] root]# cat /etc/logrotate.d/clamav
> >/var/log/clamav/clamav.log {
> > create 644 clamav clamav
> > weekly
> > compress
> > postrotate
> > /bin/kill -HUP `cat /var/run/clamav/clamd.pid` 2>/dev/null || true
> > endscript
> >}delay_compress is imprtant - clamd may have some open descriptors to the old log, and tryin gto write to a gzipped file, er, confuses it a little. -- -------------------------------------------------------------------------- | Stephen Gran | You don't have to explain something you | | [EMAIL PROTECTED] | never said. -- Calvin Coolidge | | http://www.lobefin.net/~steve | | --------------------------------------------------------------------------
pgpqHktSbJEPI.pgp
Description: PGP signature
