Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: modules/spawn_fcgi/templates/pool.erb

Issue 29465613: #1574 - Update template syntax in spawn_fcgi module (Closed)
Patch Set: Created June 14, 2017, 12:41 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « modules/spawn_fcgi/templates/php-pool.erb ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 -%>
« no previous file with comments | « modules/spawn_fcgi/templates/php-pool.erb ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld