Bill Maidment wanted us to know:

>>Are you sure it's not still writing to the old file?  If it was already
>Yep that was it. So I need to stop freshclam and clamd before logrotate 
>and start them after logrotate? What a bore!

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
}

-- 
Regards...              Todd
They that can give up essential liberty to obtain a little temporary 
safety deserve neither liberty nor safety.       --Benjamin Franklin
Linux kernel 2.6.3-4mdkenterprise   2 users,  load average: 0.00, 0.00, 0.00


-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite!  GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to