X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/fd5b662ae1ccede11c2f5eb67253f8cd3ae8a507..720abae3e8f61545f741e649c38b810493790830:/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 index c711ee84d..1aa405f59 100644 --- a/cookbooks/nominatim/templates/default/fpm.conf.erb +++ b/cookbooks/nominatim/templates/default/fpm.conf.erb @@ -1,7 +1,11 @@ ; 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 +<% end -%> user = www-data group = www-data