contrib/clamav/clamd
2006-10-24 15:36:15 -05:00

24 lines
251 B
Bash

#!/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