ladha wanted us to know:
>> My /etc/logrotate.conf is :
<snip>
logrotate also supports the /etc/logrotate.d/* files for packages to
easily add/remove logrotate support for their logrotations needed.
Here's how I do mine:
smtp1 root # cat /etc/logrotate.d/clamav /etc/logrotate.d/freshclam
/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
}
/var/log/clamav/freshclam.log {
create 644 clamav clamav
monthly
compress
}
You can tell if your system supports that if you have the following line
in your /etc/logrotate.conf:
# packages can drop log rotation information into this directory
include /etc/logrotate.d
--
Regards... Todd
There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order. --Ed Howdershelt
Linux kernel 2.6.8.1-12mdkenterprise 1 user, load average: 0.12, 0.10, 0.04
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html