7 lines
227 B
Ruby
7 lines
227 B
Ruby
threads_count = ENV.fetch("RAILS_MAX_THREADS", 5)
|
|
threads threads_count, threads_count
|
|
port ENV.fetch("PORT", 3000)
|
|
environment ENV.fetch("RAILS_ENV", "development")
|
|
pidfile ENV["PIDFILE"] if ENV["PIDFILE"]
|
|
plugin :tmp_restart
|