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
# Change these to match your app:
APP_NAME=stoyan_app
APP_RUBY=2.0.0-p0
APP_NAME=chasselay_app
APP_RUBY=2.0.0-p195
APP_ROOT="/home/web/chasselay_app/current"
PID="/home/web/chasselay_app/shared/unicorn.pid"
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"
SET_PATH="cd $APP_ROOT; rvm 1.9.3-p0"
SET_PATH="cd $APP_ROOT; rvm $APP_RUBY"
CMD="$SET_PATH; unicorn $UNICORN_OPTS"
old_pid="$PID.oldbin"
@ -61,4 +61,4 @@ case ${1-help} in
echo >&2 "Usage: $0 "
exit 1
;;
esac
esac