contrib/clamav/clamd

24 lines
251 B
Plaintext
Raw Normal View History

2006-10-24 22:36:15 +02:00
#!/bin/sh
#
# /etc/rc.d/clamd: start/stop clam antivirus daemon
#
case $1 in
start)
/usr/sbin/clamd
;;
stop)
killall -q /usr/sbin/clamd
;;
restart)
$0 stop
sleep 2
$0 start
;;
*)
echo "Usage: $0 [start|stop|restart]"
;;
esac
# End of file