X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/05b2488c54d93007fbe394a37b859a8c9ad253f3..d10be359036b13007080d965d45d70da0011a999:/cookbooks/imagery/resources/site.rb diff --git a/cookbooks/imagery/resources/site.rb b/cookbooks/imagery/resources/site.rb index 8cb951389..19d18e5a4 100644 --- a/cookbooks/imagery/resources/site.rb +++ b/cookbooks/imagery/resources/site.rb @@ -55,6 +55,13 @@ action :create do 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" @@ -98,8 +105,7 @@ action :create do "MS_ERRORFILE" => "stderr", "GDAL_CACHEMAX" => "128" 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"