From f28a1081e98606e992c613cb1e15f55e75c9b546 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Fri, 6 Jul 2018 10:52:22 +0100 Subject: [PATCH 1/1] Imagery: switch back to using multiwatch --- cookbooks/imagery/resources/layer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbooks/imagery/resources/layer.rb b/cookbooks/imagery/resources/layer.rb index 0fd38f2f8..324d61a92 100644 --- a/cookbooks/imagery/resources/layer.rb +++ b/cookbooks/imagery/resources/layer.rb @@ -75,7 +75,7 @@ action :create do user "imagery" group "imagery" exec_start_pre "/bin/rm -f /run/mapserver-fastcgi/layer-#{new_resource.layer}.socket" - exec_start "/usr/bin/spawn-fcgi -n -s /run/mapserver-fastcgi/layer-#{new_resource.layer}.socket -M 0666 -P /run/mapserver-fastcgi/layer-#{new_resource.layer}.pid -F 4 -- /usr/lib/cgi-bin/mapserv" + exec_start "/usr/bin/spawn-fcgi -n -s /run/mapserver-fastcgi/layer-#{new_resource.layer}.socket -M 0666 -P /run/mapserver-fastcgi/layer-#{new_resource.layer}.pid -- /usr/bin/multiwatch -f 4 --signal=TERM -- /usr/lib/cgi-bin/mapserv" private_tmp true private_devices true private_network true -- 2.39.5