Skip to content

Instantly share code, notes, and snippets.

View markottaviani's full-sized avatar

Mark Ottaviani markottaviani

View GitHub Profile
@markottaviani
markottaviani / unicorn.rb
Created December 5, 2011 13:24 — forked from rchampourlier/unicorn.rb
Postgresql fixed template for unicorn.rb to use with Capistrano deployment recipe
# This file has been generated from unicorn_template.rb.erb which is greatly inspired from:
# https://github.com/ricodigo/ricodigo-capistrano-recipes/blob/master/generators/unicorn.rb.erb
#
# See http://unicorn.bogomips.org/Unicorn/Configurator.html for complete
# documentation.
# Local variables
old_pid = '<%= unicorn_pid + ".old" %>'
# Unicorn setup