private_devices true
protect_system "full"
protect_home true
+ no_new_privileges true
restart "on-failure"
pid_file "#{node[:web][:pid_directory]}/cgimap.pid"
end
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