From f95a8a2374009736744d62df235a171fdcefe010 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Sun, 17 Jan 2016 22:21:18 +0000 Subject: [PATCH] imagery: add socket requirements --- cookbooks/imagery/recipes/default.rb | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/cookbooks/imagery/recipes/default.rb b/cookbooks/imagery/recipes/default.rb index 6793900eb..e12487875 100644 --- a/cookbooks/imagery/recipes/default.rb +++ b/cookbooks/imagery/recipes/default.rb @@ -29,6 +29,10 @@ package "cgi-mapserver" package "mapcache-cgi" package "mapcache-tools" +# Mapserver via Nginx requires as fastcgi spawner +package "spawn-fcgi" +package "multiwatch" + # Imagery processing Requirements package "imagemagick" @@ -36,6 +40,13 @@ package "imagemagick" package "xz-utils" package "unzip" +# Create Directory for mapserver-fastcgi imagery sockets +directory "/var/run/mapserver-fastcgi" do + owner "imagery" + group "imagery" + mode 0755 +end + directory "/srv/imagery/common" do owner "root" group "root" -- 2.39.5