use env var to determine single process mode in scritp/server
This commit is contained in:
parent
b7b9cf6b6d
commit
3b279d179f
1 changed files with 1 additions and 1 deletions
|
|
@ -166,7 +166,7 @@ if [ ! -e 'public/assets/default.css' ]; then
|
|||
fi
|
||||
|
||||
mkdir -p -v log/thin/
|
||||
if [ "$(./script/get_config.rb single_process_mode $RAILS_ENV)" = "false" ]; then
|
||||
if [ "$SINGLE_PROCESS" != "true" ]; then
|
||||
redis_config
|
||||
redis-server config/redis.conf &>log/redis-console.log &
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue