public
Last active

unicorn

  • Download Gist
unicorn.rb
Ruby
1 2 3 4 5 6 7 8 9
root = "/home/you/apps/appname/current"
working_directory root
pid "#{root}/tmp/pids/unicorn.pid"
stderr_path "#{root}/log/unicorn.log"
stdout_path "#{root}/log/unicorn.log"
 
listen "/tmp/unicorn.your_user_name.sock"
worker_processes 2
timeout 30

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.