initial
This commit is contained in:
parent
e293051bac
commit
bad88eac9d
2
Gemfile
2
Gemfile
@ -61,7 +61,7 @@ gem 'net-ssh', '~>2.7.0'
|
|||||||
# gem 'bcrypt-ruby', '~> 3.0.0'
|
# gem 'bcrypt-ruby', '~> 3.0.0'
|
||||||
|
|
||||||
# Use unicorn as the app server
|
# Use unicorn as the app server
|
||||||
|
gem "unicorn"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ GEM_HOME="/home/web/ual_app/shared/bundle/ruby/2.1.0"
|
|||||||
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 $APP_RUBY"
|
SET_PATH="cd $APP_ROOT; rvm $APP_RUBY"
|
||||||
CMD="$SET_PATH; unicorn $UNICORN_OPTS"
|
CMD="$SET_PATH; bundle exec unicorn $UNICORN_OPTS"
|
||||||
|
|
||||||
old_pid="$PID.oldbin"
|
old_pid="$PID.oldbin"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user