]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nominatim/templates/default/fpm.conf.erb
Revert "test file logging for nominatim"
[chef.git] / cookbooks / nominatim / templates / default / fpm.conf.erb
index c711ee84d7946c2b2145267fb747b7c62a31a0f4..1b8a0c3cac3db272c09c24d4dbf1ab8e0ded24db 100644 (file)
@@ -1,7 +1,13 @@
 ; 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