use env var to determine single process mode in scritp/server

This commit is contained in:
Jonne Hass 2011-09-05 17:34:05 +03:00
parent b7b9cf6b6d
commit 3b279d179f

View file

@ -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 &