Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Simple unicorn upstart script
description "start and stop unicorn"
version "1.0"
author "Sergio Tulentsev"
#expect fork
cd /srv/stats/current && /home/sergio/.rvm/bin/r193_bundle exec unicorn_rails -E production -c config/unicorn.rb
end script
# cmt
start on runlevel [23]
stop on runlevel 6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment