Restart cgimap on upgrade
authorTom Hughes <tom@compton.nu>
Thu, 20 Oct 2016 18:06:33 +0000 (19:06 +0100)
committerTom Hughes <tom@compton.nu>
Thu, 20 Oct 2016 18:06:33 +0000 (19:06 +0100)
cookbooks/web/recipes/cgimap.rb

index 9425a356a07d0b797d90283057bab1d86961fd67..7fb417b388dbb99f527ace06262a9fc3bd49a1ad 100644 (file)
@@ -70,7 +70,7 @@ else
   service "cgimap" do
     action [:enable, :start]
     supports :restart => true, :reload => true
-    subscribes :restart, "dpkg_package[openstreetmap-cgimap-bin]"
+    subscribes :restart, "package[openstreetmap-cgimap-bin]"
     subscribes :restart, "systemd_service[cgimap]"
   end
 end