Changes

From SME Server
Jump to navigationJump to search
Line 127: Line 127:  
  sv t /service/freshclam
 
  sv t /service/freshclam
 
  tail -5 /var/log/freshclam/current | tai64nlocal
 
  tail -5 /var/log/freshclam/current | tai64nlocal
 +
 +
== Method 3==
 +
 +
a little script to launch
 +
 +
nano /root/clamav-update
 +
 +
past this content
 +
#!/bin/bash
 +
 +
service clamd stop
 +
rm -f /var/clamav/mirrors.dat
 +
rm -f /var/clamav/daily.cld
 +
freshclam -v
 +
service clamd start
 +
 +
save it by ctrl+x
 +
 +
chmod +x /root/clamav-update
 +
If you want to launch it
 +
/root/clamav-update
    
[[Category:Howto]]
 
[[Category:Howto]]

Navigation menu