Skip to content

Instantly share code, notes, and snippets.

@d6rkaiz d6rkaiz/unicorn.conf
Created Dec 13, 2010

Embed
What would you like to do?
unicorn.conf
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
You can’t perform that action at this time.