This commit is contained in:
Nicolas Bally 2013-09-18 17:09:34 +02:00
parent dcc8144f9e
commit 5b18c40f93

View File

@ -5,8 +5,8 @@ set -u
set -e set -e
# Change these to match your app: # Change these to match your app:
APP_NAME=stoyan_app APP_NAME=chasselay_app
APP_RUBY=2.0.0-p0 APP_RUBY=2.0.0-p195
APP_ROOT="/home/web/chasselay_app/current" APP_ROOT="/home/web/chasselay_app/current"
PID="/home/web/chasselay_app/shared/unicorn.pid" PID="/home/web/chasselay_app/shared/unicorn.pid"
ENV=production ENV=production
@ -15,7 +15,7 @@ GEM_HOME="/home/web/.rvm/gems/ruby-$APP_RUBY"
UNICORN_OPTS="-D -E $ENV -c $APP_ROOT/config/unicorn.rb" UNICORN_OPTS="-D -E $ENV -c $APP_ROOT/config/unicorn.rb"
SET_PATH="cd $APP_ROOT; rvm 1.9.3-p0" SET_PATH="cd $APP_ROOT; rvm $APP_RUBY"
CMD="$SET_PATH; unicorn $UNICORN_OPTS" CMD="$SET_PATH; unicorn $UNICORN_OPTS"
old_pid="$PID.oldbin" old_pid="$PID.oldbin"