]> git.openstreetmap.org Git - chef.git/commitdiff
Fix loading of new kernel modules
authorTom Hughes <tom@compton.nu>
Mon, 8 Nov 2021 00:39:44 +0000 (00:39 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 8 Nov 2021 00:39:44 +0000 (00:39 +0000)
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]