diff --git a/config/unicorn_init_d b/config/unicorn_init_d index 4eca9a9..577904a 100644 --- a/config/unicorn_init_d +++ b/config/unicorn_init_d @@ -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 \ No newline at end of file +esac