foreman-export-god/data/templates/base.god.erb

13 lines
336 B
Plaintext

<% 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
w.group = "<%= app %>"
w.dir = "<%= engine.directory %>"
<%= extension(process.name) %>
end
<% end %>
<% end %>