X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fmonit%2Ftemplates%2Fmonitrc.erb;fp=modules%2Fmonit%2Ftemplates%2Fmonitrc.erb;h=e640cbe1fba3e319df45a2c061acfdc152847316;hb=8e73e0dd2328a86a5ae57d10bf00b40ccc394fc0;hp=dc46f19512003e758fe7f024bd41c4b68681bc79;hpb=66fa4885c845ab1bbfc24a468a354def9852758c;p=mirror%2Fdsa-puppet.git diff --git a/modules/monit/templates/monitrc.erb b/modules/monit/templates/monitrc.erb index dc46f1951..e640cbe1f 100644 --- a/modules/monit/templates/monitrc.erb +++ b/modules/monit/templates/monitrc.erb @@ -21,7 +21,7 @@ ## Start monit in the background (run as a daemon) and check services at ## 2-minute intervals. # -<% if nodeinfo.has_key?('squeeze') and not nodeinfo['squeeze'].empty? %> +<% if nodeinfo.has_key?('squeeze') and nodeinfo['squeeze'] %> set daemon 300 <% else %> <% end %>