X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/61cfb2e7be9b887d3d0890d8804ad3339fbb7d73..3b9afa09fa710d6845058d1befe1d75587992a53:/cookbooks/nominatim/recipes/default.rb diff --git a/cookbooks/nominatim/recipes/default.rb b/cookbooks/nominatim/recipes/default.rb index d15f3284f..0d653c638 100644 --- a/cookbooks/nominatim/recipes/default.rb +++ b/cookbooks/nominatim/recipes/default.rb @@ -39,6 +39,24 @@ apache_site "nominatim.openstreetmap.org" do directory "/home/lonvia/nominatim" end +template "/etc/php5/fpm/pool.d/www.conf" do + source "fpm.conf.erb" + owner "root" + group "root" + mode 0644 + variables :name => "www", :pm => "dynamic", :max_children => "50" + notifies :reload, resources(:service => "php5-fpm") +end + +template "/etc/php5/fpm/pool.d/bulk.conf" do + source "fpm.conf.erb" + owner "root" + group "root" + mode 0644 + variables :name => "bulk", :pm => "static", :max_children => "7" + notifies :reload, resources(:service => "php5-fpm") +end + postgresql_user "tomh" do cluster "9.1/main" superuser true