Created
November 27, 2011 08:59
-
-
Save frank-who/1397267 to your computer and use it in GitHub Desktop.
Basic Unicorn Setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# unicorn_rails -c config/unicorn.rb -D | |
app_name = "dojo" | |
app_root = "/Users/frank/Projects/rails/#{app_name}" | |
working_directory app_root | |
pid "/tmp/unicorn.#{app_name}.pid" | |
stderr_path "#{app_root}/log/unicorn.log" | |
stdout_path "#{app_root}/log/unicorn.log" | |
listen "/tmp/unicorn.#{app_name}.sock" | |
worker_processes 2 | |
timeout 30 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment