X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/2514acf0366bc0cdd14c51eb2e5b60e2569413f2..9626c2e9e81b53134c416cca0594fad46aa2dc01:/cookbooks/hardware/templates/default/smartd.conf.erb 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 -%>