milis/talimatname/genel/c/clamav/freshclam

18 lines
259 B
Plaintext
Raw Normal View History

2016-02-24 01:27:23 +01:00
case $1 in
start)
/usr/bin/freshclam --quiet --daemon --checks=1 --daemon-notify \
--log=/var/log/clamav/freshclam.log
;;
stop)
killall -q /usr/bin/freshclam
;;
restart)
$0 stop
sleep 2
$0 start
;;
*)
echo "Usage: $0 [start|stop|restart]"
;;
esac