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

13 lines
336 B
Plaintext
Raw Normal View History

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
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 %>