data/export/bluepill/master.pill.erb in foreman-0.23.1 vs data/export/bluepill/master.pill.erb in foreman-0.24.0
- old
+ new
@@ -1,11 +1,11 @@
Bluepill.application("<%= app %>", :foreground => false, :log_file => "/var/log/bluepill.log") do |app|
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|
process.start_command = "<%= process.command.gsub("$PORT", port.to_s) %>"
@@ -22,6 +22,6 @@
process.group = "<%= app %>-<%= process.name %>"
end
<% end %>
<% end %>
-end
\ No newline at end of file
+end