From 960750a3f0393bc7499176d1e7df9be44e99bf06 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sat, 26 Sep 2015 10:19:07 +0100 Subject: [PATCH] Ensure smartd keeps running when a disk dies --- cookbooks/hardware/templates/default/smartmontools.erb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/cookbooks/hardware/templates/default/smartmontools.erb b/cookbooks/hardware/templates/default/smartmontools.erb index 6526edefc..3181e3591 100644 --- a/cookbooks/hardware/templates/default/smartmontools.erb +++ b/cookbooks/hardware/templates/default/smartmontools.erb @@ -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" -- 2.43.2