On Mon, 2004-02-02 at 17:42, Paul Carpenter wrote: > I use logrotate on my RedHat system with: > > /var/log/clamd.log { > missingok > create 0640 clamav root > prerotate > /sbin/service clamd stop 2> /dev/null || true > endscript > postrotate > sleep 5 > /sbin/service clamd start 2> /dev/null || true > endscript > } > > Seems to work fine. >
Except that you're allowing viruses to pass through during that sleep 5... -- Tarjei ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users