freshclam 259 B

123456789101112131415161718
  1. case $1 in
  2. start)
  3. /usr/bin/freshclam --quiet --daemon --checks=1 --daemon-notify \
  4. --log=/var/log/clamav/freshclam.log
  5. ;;
  6. stop)
  7. killall -q /usr/bin/freshclam
  8. ;;
  9. restart)
  10. $0 stop
  11. sleep 2
  12. $0 start
  13. ;;
  14. *)
  15. echo "Usage: $0 [start|stop|restart]"
  16. ;;
  17. esac