Advertisement
rffaguiar

/etc/default/unicorn

Mar 1st, 2015
2,563
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Unicon 1.07 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/current
  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 -E production"
  18.  
  19. #PATH=/usr/local/rvm/rubies/ruby-2.0.0-p353/bin:/usr/local/rvm/gems/ruby-2.0.0-p353/bin:/home/unicorn/.rvm/bin:/usr/local/sbin:/usr/bin:/bin:/sbin:$
  20. #PATH=/usr/local/rvm/rubies/ruby-2.1.2/bin:/usr/local/rvm/gems/ruby-2.1.2/bin:/home/unicorn/.rvm/bin:/usr/local/sbin:/usr/bin:/bin:/sbin:$
  21. PATH=/usr/local/rvm/rubies/ruby-2.2.0/bin:/usr/local/rvm/gems/ruby-2.2.0/bin:/home/unicorn/.rvm/bin:/usr/local/sbin:/usr/bin:/bin:/sbin:$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement