]> git.openstreetmap.org Git - chef.git/commitdiff
Mark the smartmontools service as supporting reload
authorTom Hughes <tom@compton.nu>
Sun, 15 Mar 2015 00:37:55 +0000 (00:37 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 15 Mar 2015 00:37:55 +0000 (00:37 +0000)
cookbooks/hardware/recipes/default.rb

index 364be85c13a4a95769706ac14d3329613ded1b79..551dd5b382b43b311233fd06cdca08e27b793c81 100644 (file)
@@ -405,6 +405,7 @@ if disks.count > 0
 
   service "smartmontools" do
     action [:enable, :start]
+    supports :status => true, :restart => true, :reload => true
   end
 
   disks.each do |disk|