From 259ac0e11d58c0c0c8cf77faec43a688d9dc6da8 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sun, 15 Mar 2015 00:32:11 +0000 Subject: [PATCH] Run short SMART self test at 2am every Sunday --- cookbooks/hardware/templates/default/smartd.conf.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -%> -- 2.43.2