X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/2514acf0366bc0cdd14c51eb2e5b60e2569413f2..166cf2983434a0a2509387466df3461b18a39625:/cookbooks/hardware/templates/default/smartd.conf.erb?ds=sidebyside diff --git a/cookbooks/hardware/templates/default/smartd.conf.erb b/cookbooks/hardware/templates/default/smartd.conf.erb index e6fcd5df2..640cd27a9 100644 --- a/cookbooks/hardware/templates/default/smartd.conf.erb +++ b/cookbooks/hardware/templates/default/smartd.conf.erb @@ -2,8 +2,8 @@ <% @disks.each do |disk| -%> <% if disk[:smart] -%> -/dev/<%= disk[:device] %> -d <%= disk[:smart] %> -s (L/../../5/23|S/../.././01) -m admins@openstreetmap.org -M exec /usr/local/bin/smartd-mailer +/dev/<%= disk[:device] %> -d <%= disk[:smart] %> -s (L/../../5/23|S/../.././01) -n standby -m admins@openstreetmap.org -M exec /usr/local/bin/smartd-mailer <% else -%> -/dev/<%= disk[:device] %> -s (L/../../5/23|S/../.././01) -m admins@openstreetmap.org -M exec /usr/local/bin/smartd-mailer +/dev/<%= disk[:device] %> -s (L/../../5/23|S/../.././01) -n standby -m admins@openstreetmap.org -M exec /usr/local/bin/smartd-mailer <% end -%> <% end -%>