| | # |
---|
| | # automatically generated by puppet for <%= fqdn %>, DO NOT MODIFY! |
---|
| | # |
---|
| | check process clamd with pidfile /var/run/clamav/clamd.pid |
---|
| | start program = "/etc/inid.d/clamav-daemon start" |
---|
| | stop program = "/etc/inid.d/clamav-daemon stop" |
---|
| | start program = "/etc/init.d/clamav-daemon start" |
---|
| | stop program = "/etc/init.d/clamav-daemon stop" |
---|
| | if failed host 127.0.0.1 port <%= clamd_port %> protocol CLAMAV for 5 cycle then restart |
---|
| | <% clamd_ips.each do |clamd_ip| -%> |
---|
| | if failed host <%= clamd_ip %> port <%= clamd_port %> protocol CLAMAV for 5 cycle then restart |
---|
| | <%- end %> |
---|
| | |