Created
December 13, 2010 16:52
-
-
Save d6rkaiz/739217 to your computer and use it in GitHub Desktop.
unicorn.conf
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
worker_processes 2 | |
working_directory "/var/www/default" | |
timeout 30 | |
listen "/tmp/unicorn.socket", :backlog => 64 | |
pid "logs/unicorn.pid" | |
stderr_path "logs/unicorn.log" | |
stdout_path "logs/unicorn.log" | |
after_fork do |server,worker| | |
worker.user('www-data', 'www-data') if Process.euid == 0 | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment