From 667b153bd1d1b4973164fd21975a6fe2bac98dfb Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 20 Oct 2016 19:06:33 +0100 Subject: [PATCH] Restart cgimap on upgrade --- cookbooks/web/recipes/cgimap.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbooks/web/recipes/cgimap.rb b/cookbooks/web/recipes/cgimap.rb index 9425a356a..7fb417b38 100644 --- a/cookbooks/web/recipes/cgimap.rb +++ b/cookbooks/web/recipes/cgimap.rb @@ -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 -- 2.43.2