From 2514acf0366bc0cdd14c51eb2e5b60e2569413f2 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Tue, 31 Jul 2018 17:13:41 +0100 Subject: [PATCH] Tweak smartd.conf disk test interval --- 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 6f88cf674..e6fcd5df2 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 (S/../.././4|L/../../7/2) -m admins@openstreetmap.org -M exec /usr/local/bin/smartd-mailer +/dev/<%= disk[:device] %> -d <%= disk[:smart] %> -s (L/../../5/23|S/../.././01) -m admins@openstreetmap.org -M exec /usr/local/bin/smartd-mailer <% else -%> -/dev/<%= disk[:device] %> -s (S/../.././4|L/../../7/2) -m admins@openstreetmap.org -M exec /usr/local/bin/smartd-mailer +/dev/<%= disk[:device] %> -s (L/../../5/23|S/../.././01) -m admins@openstreetmap.org -M exec /usr/local/bin/smartd-mailer <% end -%> <% end -%> -- 2.43.2