]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nominatim/templates/default/fpm.conf.erb
Standardise generation of FPM pool configurations
[chef.git] / cookbooks / nominatim / templates / default / fpm.conf.erb
diff --git a/cookbooks/nominatim/templates/default/fpm.conf.erb b/cookbooks/nominatim/templates/default/fpm.conf.erb
deleted file mode 100644 (file)
index 386769e..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-; DO NOT EDIT - This file is being maintained by Chef
-
-[<%= @name %>]
-<% if @port -%>
-listen = 127.0.0.1:<%= @port %>
-<% else -%>
-listen = /var/run/php5-fpm-<%= @name %>.sock
-listen.owner = www-data
-listen.group = www-data
-<% end -%>
-
-user = www-data
-group = www-data
-
-pm = <%= @pm %>
-pm.max_children = <%= @max_children %>
-pm.start_servers = 20
-pm.min_spare_servers = 10
-pm.max_spare_servers = 20
-pm.max_requests = 10000
-
-security.limit_extensions = .php .phpx .phpj