init d
This commit is contained in:
parent
d03f94bd6d
commit
e5dd0138d8
2
config/unicorn_init_d
Normal file → Executable file
2
config/unicorn_init_d
Normal file → Executable file
@ -16,7 +16,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 $APP_RUBY"
|
||||
CMD="$SET_PATH; unicorn $UNICORN_OPTS"
|
||||
CMD="$SET_PATH; bundle exec unicorn $UNICORN_OPTS"
|
||||
|
||||
old_pid="$PID.oldbin"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user