Sha256: 1f8838abad37c946791b2467e5d56732ffac21c66bb6c1ad2efa9c4605b8f632

Contents?: true

Size: 824 Bytes

Versions: 1

Compression:

Stored size: 824 Bytes

Contents

[<%= container.name %>_<%= site.name %>]

user = <%= [container.name, site.php.user].compact.join '_' %>
group = <%= container.name %>
listen = <%= site.web.path %>.sock
listen.owner = www-data
listen.group = www-data

chdir = <%= site.web.path.join(site.document_root) %>

pm = <% site.php.pm %>
pm.max_children = <%= site.php.pm_max_children %>
<% if site.php.pm == 'dynamic' %>pm.start_servers = <%= site.php.pm_start_servers %>
pm.min_spare_servers = <%= site.php.pm_min_spare_servers %>
pm.max_spare_servers = <%= site.php.pm_max_spare_servers %>
<% end %>

<% %w{admin_value admin_flag value flag}.select{|p| site.php.f(p) }.each do |param_type|
  site.php.f(param_type).lines {|l| l.split /\s*=\s*/, 2 }.each do |param_name, param_value| %>
php_<%= param_type %>[<%= param_name %>] = <%= param_value %>
<% end
end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
superhosting-0.0.2 bootstrap/etc/sx/muxs/php/site/config_templates/php_fpm_pool.erb