Create a gist now

Instantly share code, notes, and snippets.

@mpapis / forked from killercup/
Last active Dec 14, 2015

What would you like to do?

Hey @mpapis ! should read CMD="$UNICORN -c ${RAILS_ROOT}/config/unicorn.rb -D"

A link to would be good for others to figure out what the rvm wrapper but is about.

Thanks for the updated script. Very useful.

@mpapis what would you recommend for loading the environment?

set -a
. /etc/unicorn/$2.conf
set +a 

and around . $CONFIG line too works but I'm not sure why these aren't accessible by unicorn and rails anyway.


mpapis commented Sep 20, 2013

hmm, I had to miss the comments - the script got reworked since then

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment