On Mon, 5 Mar 2007, Dennis Peterson wrote:

> > It makes a great deal of sense to move the files into the clam DB directory
> > to insure an atomic operation.  If clamd/clamav-milter should happen to
> > reload with a half-copied file in the DB dir, it will likely stop running.
> 
> Yah - I realized that after reviewing the suggestion. Too much focus on just
> one element of the entire problem.

You can also use rsync to copy the file(s) from the download location to the 
clam directory on the same server. I believe rsync will make a temp file 
then mv it into place, plus it's an easy way to only update the files that 
changed.  ie:

rsync -av ./phish.ndb ./scam.ndb  ./MSRBL-* /usr/local/share/clamav


==========================================================
Chris Candreva  -- [EMAIL PROTECTED] -- (914) 948-3162
WestNet Internet Services of Westchester
http://www.westnet.com/
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to