1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00

Fix the order of redirects (#1511)

Redirect from stderr to stdout should be before redirect to a log file
This commit is contained in:
Manabu Ejima 2018-03-20 06:46:55 +09:00 committed by Nate Berkopec
parent cf15db20b9
commit efc2620c62

View file

@ -15,4 +15,4 @@ elif [ -f "$HOME/.rvm/scripts/rvm" ]; then
fi
app=$1; config=$2; log=$3;
cd $app && exec bundle exec puma -C $config 2>&1 >> $log
cd $app && exec bundle exec puma -C $config >> $log 2>&1