]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/web/recipes/cgimap.rb
Restart cgimap on upgrade
[chef.git] / 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