rename supervisord base template to app

add supervisord stub
This commit is contained in:
Raphael Randschau
2012-02-23 17:24:08 +01:00
parent 8cb58b8517
commit 1127551369
5 changed files with 105 additions and 18 deletions
@@ -13,7 +13,7 @@ stdout_logfile=<%= log_root %>/<%=process.name%>-<%=num%>.log
stderr_logfile=<%= log_root %>/<%=process.name%>-<%=num%>err.log
user=<%= user %>
directory=<%= engine.directory %>
environment=<% engine.environment.each_pair { |var,env| "#{var.upcase}=#{env}" }.join(',') %>,<%= "PORT=#{port}" %>
environment=<% (engine.environment.each_pair { |var,env| "#{var.upcase}=#{env}" }.to_a + ["PORT=#{port}"]).join(',') %>
<%
end
end