Advertisement
Guest User

configuration for Unicorn init

a guest
Dec 1st, 2013
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.74 KB | None | 0 0
  1. # Change paramentres below to appropriate values and set CONFIGURED to yes.
  2. CONFIGURED=yes
  3.  
  4. # Default timeout until child process is killed during server upgrade,
  5. # it has *no* relation to option "timeout" in server's config.rb.
  6. TIMEOUT=60
  7.  
  8. # Path to your web application, sh'ld be also set in server's config.rb,
  9. # option "working_directory". Rack's config.ru is located here.
  10. APP_ROOT=/home/rails
  11.  
  12. # Server's config.rb, it's not a rack's config.ru
  13. CONFIG_RB=/home/unicorn/unicorn.conf
  14.  
  15. # Where to store PID, sh'ld be also set in server's config.rb, option "pid".
  16. PID=/home/unicorn/pids/unicorn.pid
  17. UNICORN_OPTS="-D -c $CONFIG_RB"
  18. PATH=/usr/local/rvm/rubies/ruby-2.0.0-p353/bin:/home/unicorn/.rvm/bin:/usr/local/sbin:/usr/bin:/bin:/sbin:$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement