]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/hardware/recipes/default.rb
Fix loading of new kernel modules
[chef.git] / cookbooks / hardware / recipes / default.rb
index 596d2701d94bec4c15b0683ea25c0578a4a36db1..88bb45613da28f2043ad1b94c2a9869246723c8c 100644 (file)
@@ -547,9 +547,9 @@ template "/etc/modules" do
   mode "644"
 end
 
-service "kmod" do
+service "systemd-modules-load" do
   action :nothing
-  subscribes :start, "template[/etc/modules]"
+  subscribes :restart, "template[/etc/modules]"
 end
 
 if node[:hardware][:watchdog]