]> git.openstreetmap.org Git - chef.git/commitdiff
Ensure smartd keeps running when a disk dies
authorTom Hughes <tom@compton.nu>
Sat, 26 Sep 2015 09:19:07 +0000 (10:19 +0100)
committerTom Hughes <tom@compton.nu>
Sat, 26 Sep 2015 09:19:07 +0000 (10:19 +0100)
cookbooks/hardware/templates/default/smartmontools.erb

index 6526edefc3c006d57554ba924eb61a4cbb16da3e..3181e3591d8cf63934541a14432a4909a7a21222 100644 (file)
@@ -1,4 +1,7 @@
 # DO NOT EDIT - This file is being maintained by Chef
-  
+
 # Enable smartd
-start_smartd=yes
+start_smartd="yes"
+
+# Make smartd keep running when a disk dies
+smartd_opts="--quit=never"