define procfile regex, refactoring

This commit is contained in:
David Dollar
2011-10-04 10:38:13 -04:00
parent a3e758ab6c
commit d26ca669a1
7 changed files with 80 additions and 101 deletions
+1 -1
View File
@@ -1,2 +1,2 @@
ticker: ruby ./ticker $PORT
error : ruby ./error
error: ruby ./error
+2 -2
View File
@@ -3,7 +3,7 @@ Bluepill.application("<%= app %>", :foreground => false, :log_file => "/var/log/
app.uid = "<%= user %>"
app.gid = "<%= user %>"
<% engine.processes.values.each do |process| %>
<% engine.processes.each do |process| %>
<% 1.upto(concurrency[process.name]) do |num| %>
<% port = engine.port_for(process, num, options[:port]) %>
app.process("<%= process.name %>-<%=num%>") do |process|
@@ -24,4 +24,4 @@ Bluepill.application("<%= app %>", :foreground => false, :log_file => "/var/log/
end
<% end %>
<% end %>
end
end