Sha256: da5276ecbcce17c62af8d42b3bea5a137cba944a5d461eaff661c2a92ea5d292

Contents?: true

Size: 707 Bytes

Versions: 57

Compression:

Stored size: 707 Bytes

Contents

<%
app_names = []
engine.each_process do |name, process|
  1.upto(engine.formation[name]) do |num|
    port = engine.port_for(process, num)
    full_name = "#{app}-#{name}-#{num}"
    environment = engine.env.merge("PORT" => port.to_s).map do |key, value|
      "#{key}=#{shell_quote(value)}"
    end
    app_names << full_name
%>
[program:<%= full_name %>]
command=<%= process.command %>
autostart=true
autorestart=true
stopsignal=QUIT
stdout_logfile=<%= log %>/<%= name %>-<%= num %>.log
stderr_logfile=<%= log %>/<%= name %>-<%= num %>.error.log
user=<%= user %>
directory=<%= engine.root %>
environment=<%= environment.join(',') %><%
  end
end
%>

[group:<%= app %>]
programs=<%= app_names.join(',') %>

Version data entries

57 entries across 57 versions & 3 rubygems

Version Path
foreman-0.64.0 data/export/supervisord/app.conf.erb
mango-0.8.0 vendor/bundler/ruby/2.1.0/gems/foreman-0.63.0/data/export/supervisord/app.conf.erb
mango-0.7.1 vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/data/export/supervisord/app.conf.erb
mango-0.7.0 vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/data/export/supervisord/app.conf.erb
foreman-capistrano-0.53.4 data/export/supervisord/app.conf.erb
foreman-0.63.0-mingw32 data/export/supervisord/app.conf.erb
foreman-0.63.0-java data/export/supervisord/app.conf.erb
foreman-0.63.0 data/export/supervisord/app.conf.erb
foreman-0.62.0-mingw32 data/export/supervisord/app.conf.erb
foreman-0.62.0-java data/export/supervisord/app.conf.erb
foreman-0.62.0 data/export/supervisord/app.conf.erb
foreman-capistrano-0.53.3 data/export/supervisord/app.conf.erb
foreman-capistrano-0.53.2 data/export/supervisord/app.conf.erb
foreman-capistrano-0.53.1 data/export/supervisord/app.conf.erb
foreman-capistrano-0.53.0 data/export/supervisord/app.conf.erb
foreman-capistrano-0.52.6 data/export/supervisord/app.conf.erb
foreman-0.61.0-mingw32 data/export/supervisord/app.conf.erb
foreman-0.61.0-java data/export/supervisord/app.conf.erb
foreman-0.61.0 data/export/supervisord/app.conf.erb
foreman-capistrano-0.52.5 data/export/supervisord/app.conf.erb