Sabzdish

Unicorn config for Rails deploy

Aug 14th, 2014
22
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. app_name = "НАЗВАНИЕ_ПРИЛОЖЕНИЯ"
  2. root = "/home/deployer/apps/#{app_name}/current"
  3. working_directory root
  4. pid "/home/deployer/apps/#{app_name}/shared/pids/unicorn.pid"
  5. stderr_path "#{root}/log/unicorn.log"
  6. stdout_path "#{root}/log/unicorn.log"
  7.  
  8. listen "/tmp/unicorn.blog.sock"
  9. worker_processes 2
  10. timeout 30
Advertisement
Add Comment
Please, Sign In to add comment