# clamd monit-cn template check process clamd with pidfile "/var/run/clamav/clamd.pid" group mail start program = "/etc/init.d/clamav-daemon start" stop program = "/etc/init.d/clamav-daemon stop" if failed unixsocket "/var/run/clamav/clamd.ctl" then restart