variables :title => new_resource.title
end
+ cookbook_file "/srv/#{new_resource.site}/robots.txt" do
+ source "robots.txt"
+ user "root"
+ group "root"
+ mode 0o644
+ end
+
cookbook_file "/srv/#{new_resource.site}/imagery.css" do
source "imagery.css"
user "root"
environment "MS_MAP_PATTERN" => "^/srv/imagery/mapserver/",
"MS_DEBUGLEVEL" => "0",
"MS_ERRORFILE" => "stderr",
- "GDAL_CACHEMAX" => "128"
+ "GDAL_CACHEMAX" => "512"
limit_nofile 16384
- memory_high "512M"
- memory_max "1G"
+ memory_max "2G"
user "imagery"
group "imagery"
exec_start_pre "/bin/rm -f /run/mapserver-fastcgi/layer-#{new_resource.site}.socket"