check process clamd with pidfile /var/run/clamav/clamd.pid
	group misc
	group clamd
	start program = "/etc/init.d/clamd start"
	stop  program = "/etc/init.d/clamd stop"
	if failed unixsocket /var/lib/clamav/clamd.socket then restart
	if 5 restarts within 5 cycles then timeout
	depends on clamd_bin
	depends on clamd_rc

check file clamd_bin with path /usr/sbin/clamd
	group clamd
	include /etc/monitrc.d/templates/rootbin

check file clamd_rc with path /etc/clamav/clamd.conf
	group clamd
	include /etc/monitrc.d/templates/rootrc
