Sha256: b96d86ca540275a62c5fb262bb77c48f002dc2397a5057e671dd727ac5333d0f
Contents?: true
Size: 982 Bytes
Versions: 12
Compression:
Stored size: 982 Bytes
Contents
<% engine.each_process do |name, process| %> <% 1.upto(engine.formation[name]) do |num| %> <% port = engine.port_for(process, num) %> check process <%= app %>-<%= name %>-<%= num %> with pidfile <%= pid_file_for(name, num) %> depends on <%= File.basename(check_file_for(name)) %> depends on <%= File.basename(app_check_file) %> group <%= app %>-<%= name %> group <%= app %> start program "/usr/local/rvm/bin/rvm-shell -c 'RAILS_ENV=production PORT=<%= port %> PID_FILE=<%= pid_file_for(name, num) %> LOG_FILE=<%= log_file_for(name, num) %> <%= wrapper_path_for(name) %> start'" stop program "/usr/local/rvm/bin/rvm-shell -c 'PID_FILE=<%= pid_file_for(name, num) %> <%= wrapper_path_for(name) %> stop'" <% end %> check file <%= File.basename(check_file_for(name)) %> with path <%= check_file_for(name) %> if changed timestamp then restart <% end %> check file <%= File.basename(app_check_file) %> with path <%= app_check_file %> if changed timestamp then restart
Version data entries
12 entries across 12 versions & 1 rubygems