]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/hardware/templates/default/smartd.conf.erb
systemd-networkd-wait-online waiting for timeout in dokken
[chef.git] / cookbooks / hardware / templates / default / smartd.conf.erb
index 3f793175a742116e1ae6f7f72f44ff40e8a4daaf..640cd27a9bc986c3a3dfdf35f3df58205964218c 100644 (file)
@@ -1,9 +1,9 @@
 # DO NOT EDIT - This file is being maintained by Chef
   
 <% @disks.each do |disk| -%>
-<% if disk[:driver] -%>
-/dev/<%= disk[:device] %> -d <%= disk[:driver] %>,<%= disk[:id] %> -m admins@openstreetmap.org
+<% if disk[:smart] -%>
+/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] %> -m admins@openstreetmap.org
+/dev/<%= disk[:device] %> -s (L/../../5/23|S/../.././01) -n standby -m admins@openstreetmap.org -M exec /usr/local/bin/smartd-mailer
 <% end -%>
 <% end -%>