Index: modules/spawn_fcgi/templates/pool.erb |
=================================================================== |
--- a/modules/spawn_fcgi/templates/pool.erb |
+++ b/modules/spawn_fcgi/templates/pool.erb |
@@ -1,25 +1,25 @@ |
-<% if socket != :undef -%> |
--s <%= socket %> |
- <% if mode != :undef -%> |
--M <%= mode %> |
+<% if @socket != :undef -%> |
+-s <%= @socket %> |
+ <% if @mode != :undef -%> |
+-M <%= @mode %> |
<% end -%> |
--U <%= user %> |
--G <%= group %> |
+-U <%= @user %> |
+-G <%= @group %> |
<% end -%> |
-<% if real_ip != :undef -%> |
--a <%= real_ip %> |
--p <%= port %> |
+<% if @real_ip != :undef -%> |
+-a <%= @real_ip %> |
+-p <%= @port %> |
<% end -%> |
-<% if children != :undef -%> |
--F <%= children %> |
+<% if @children != :undef -%> |
+-F <%= @children %> |
<% end -%> |
-<% if chroot != :undef -%> |
--c <%= chroot %> |
+<% if @chroot != :undef -%> |
+-c <%= @chroot %> |
-S |
<% end -%> |
--u <%= user %> |
--g <%= group %> |
--- <%= real_fcgi_app %> |
-<% if fcgi_app_args != :undef -%> |
-<%= fcgi_app_args %> |
+-u <%= @user %> |
+-g <%= @group %> |
+-- <%= @real_fcgi_app %> |
+<% if @fcgi_app_args != :undef -%> |
+<%= @fcgi_app_args %> |
<% end -%> |