clamav-users January 2009 archive
Main Archive Page > Month Archives  > clamav-users archives
clamav-users: [Clamav-users] How to re-read clamd config file

[Clamav-users] How to re-read clamd config file

From: John Horne <john.horne_at_nospam>
Date: Fri Jan 09 2009 - 22:24:29 GMT
To: ClamAV <clamav-users@lists.clamav.net>


Hello,

Slightly confused about how to re-read the clamd config file. I can, of course, stop and start the service, which will re-read it, but does a HUP signal do it as well?

As far as I can tell the recognised signals to clamd are (from clamdoc.pdf): TERM - to stop the process HUP - to re-open the log file USR2 - to reload the signature databases

However, the contributed RedHat startup script (in './contrib/init/RedHat/dmesg') for its 'reload' function states:

  reload() { echo -n $"Reloading clam daemon configuration: " killproc clamd -HUP

which seems to imply that a HUP will reload the clamd config file.

Is this correct or not?

Thanks,

John. -- --------------------------------------------------------------- John Horne, University of Plymouth, UK Tel: +44 (0)1752 587287 E-mail: John.Horne@plymouth.ac.uk Fax: +44 (0)1752 587001 _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml