rffaguiar

/etc/default/unicorn

Mar 1st, 2015
666
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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:$
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×