micah wrote:
> Are there any signals I can send to clamd to tell it to reload its config 
> files? I've tried -HUP, -USR1 and -USR2, and I don't see anything in clamd
> (8) about a command that clamd can take to reload configs (only reloading 
> database files).
> 
> Do I really need to interrupt the clamav scanning stream by issuing a 
> full restart to get it to change a config variable?

No full restart necessary.  You can signal clamd to reload is signature files by
using either of the following methods:

kill -USR2 xxxx (xxxx = clamd pid)

or, via perl if using a LocalSocket:

perl -MIO::Socket::UNIX -we '$s = IO::Socket::UNIX->new(shift);
$s->print("RELOAD"); print $s->getline; $s->close' /path/to/clamd.sock

Bill
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to