define procfile regex, refactoring
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
ticker: ruby ./ticker $PORT
|
||||
error : ruby ./error
|
||||
error: ruby ./error
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user