Hi.

First of all I'd like to thank to Nick Gazaloff for fix
close(acceptd) bug in 20030424 build. And to Tomasz and Nigel
too ;-)

Im running rsync server for signature db. It is synchronized
with clamav.elektrapro.com hourly. Machine is located in Brno,
Czech Republic, Europe. Server is i586/120 MHz, 64 MB RAM, 2GB HDD.
I will provide this service until load will reach up 100% of HW.


Petr



You can use it this way. Add to your root's crontab


0 1,7,13,19 * * * /usr/local/bin/clamav-update > /dev/null 2>&1

where clamav-update is like

#!/bin/sh

#####################################
# Update ClamAV antivirus databases #
#####################################

SERVER="crash.fce.vutbr.cz"
LOCAL="/usr/share/clamav/"
SYNCER="/usr/bin/rsync -v -c -z -u"

# we don't want all the clients to hit the server at the same time
# mod 3600 seconds should spread them over about an hour
sleep $(($RANDOM % 3600))

echo "Conecting the $SERVER"
echo "viruses.db:"
$SYNCER rsync://$SERVER/clamav/viruses.db $LOCAL
echo "viruses.db2:"
$SYNCER rsync://$SERVER/clamav/viruses.db2 $LOCAL

# Finito!
echo "Finito!"





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Reply via email to