From: Tom Hughes Date: Sun, 15 Mar 2015 00:32:11 +0000 (+0000) Subject: Run short SMART self test at 2am every Sunday X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/259ac0e11d58c0c0c8cf77faec43a688d9dc6da8 Run short SMART self test at 2am every Sunday --- diff --git a/cookbooks/hardware/templates/default/smartd.conf.erb b/cookbooks/hardware/templates/default/smartd.conf.erb index 3f793175a..b4f2aeb5f 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[:driver] -%> -/dev/<%= disk[:device] %> -d <%= disk[:driver] %>,<%= disk[:id] %> -m admins@openstreetmap.org +/dev/<%= disk[:device] %> -d <%= disk[:driver] %>,<%= disk[:id] %> -s S/../../7/02 -m admins@openstreetmap.org <% else -%> -/dev/<%= disk[:device] %> -m admins@openstreetmap.org +/dev/<%= disk[:device] %> -s S/../../7/02 -m admins@openstreetmap.org <% end -%> <% end -%>