Add unicorn config.

This commit is contained in:
Cyril Rohr
2014-07-30 11:14:58 +00:00
committed by kgalli
parent 7c39505684
commit d1bb0dc0c5
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
web: bundle exec unicorn --host ${HOST:="127.0.0.1"} --port ${PORT:="8080"} --env ${RAILS_ENV:="development"}
web: bundle exec unicorn --config-file config/unicorn.rb --host ${HOST:="127.0.0.1"} --port ${PORT:="8080"} --env ${RAILS_ENV:="development"}
worker: bundle exec rake jobs:work
backup: ./packaging/scripts/backup
check: ./packaging/scripts/check
+3
View File
@@ -0,0 +1,3 @@
worker_processes Integer(ENV["WEB_CONCURRENCY"] || 1)
timeout 15
preload_app false