Skip to content

Instantly share code, notes, and snippets.

@aliirz
Created July 28, 2013 15:24
Show Gist options
  • Save aliirz/6098948 to your computer and use it in GitHub Desktop.
Save aliirz/6098948 to your computer and use it in GitHub Desktop.
Our unicorn.rb
root = "/home/deployer/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.blog.sock"
worker_processes 2
timeout 30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment