On Friday 29 Jul 2005 21:29, Dawson wrote:
> My problem is probably very simple for all the
> experts out there but has stumped me....
>
> my freshclam.og is in /var/log
>
> I set the ownership to clamav
>
> It gets reset to root and then prevents the
> program from running. You can see what happens:
is logrotate changing it?
this is the script I use, in /etc/logrotate.d
/var/log/freshclam.log {
weekly
rotate 4
compress
delaycompress
create 0600 clamav root
postrotate
/etc/init.d/freshclamd restart
endscript
}
make sure that the restart is stop then start, -HUP causes the old, now
rotated log to continue to be written to, at least it does on my system 8-|
--
-----------------
Bob Hutchinson
Midwales dot com
-----------------
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html