2012-02-02 01:23:23 +00:00
|
|
|
<% engine.procfile.entries.each do |process| %>
|
|
|
|
<% 1.upto(concurrency[process.name]) do |num| %>
|
|
|
|
God.watch do |w|
|
|
|
|
w.name = "<%= "#{process.name}-#{num}" %>"
|
|
|
|
w.start = "<%= process.command %>"
|
|
|
|
w.keepalive
|
2012-02-02 01:37:14 +00:00
|
|
|
w.group = "<%= app %>"
|
2012-02-02 04:06:01 +00:00
|
|
|
w.dir = "<%= engine.directory %>"
|
2012-02-02 01:23:23 +00:00
|
|
|
<%= extension(process.name) %>
|
|
|
|
end
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|