But that must be on a Linux system (I am assuming because
you are running logrotate).
Brian
======================================================================
On Tue, Nov 08, 2005 at 11:43:58AM -0800, [EMAIL PROTECTED] wrote:
> Brian C. Hill wrote:
> > I SIGHUP clamd in order to roll the log. This worked in 0.65
> > (the last version I used before I upgraded). It doesn't now. The
> > daemon goes into some kind of loop. I think this is a bug.
> >
> > Is there a better way to do this?
>
> SIGHUP works for me...
>
> $ cat /etc/logrotate.d/clamav
> /var/log/clamav/clamd.log {
> missingok
> nocompress
> create 640 clamav defang
> postrotate
> /bin/kill -HUP `cat /var/run/clamav/clamd.pid 2> /dev/null`
> 2> /dev/null || true
> endscript
> }
>
> /var/log/clamav/freshclam.log {
> missingok
> nocompress
> create 640 clamav defang
> postrotate
> /bin/kill -HUP `cat /var/run/clamav/freshclam.pid 2>
> /dev/null` 2> /dev/null || true
> endscript
> }
>
> --
> Matthew.van.Eerde (at) hbinc.com 805.964.4554 x902
> Hispanic Business Inc./HireDiversity.com Software Engineer
> _______________________________________________
> http://lurker.clamav.net/list/clamav-users.html
--
_____________________________________________________________________
/ Brian C. Hill [EMAIL PROTECTED] http://brian.bch.net \
| UNIX Specialist BCH Technical Services http://www.bch.net |
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html