From: Grant Slater Date: Sun, 17 Jan 2016 22:21:18 +0000 (+0000) Subject: imagery: add socket requirements X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/f95a8a2374009736744d62df235a171fdcefe010 imagery: add socket requirements --- 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"