deploy prod logger earlier

This commit is contained in:
Thibault Duplessis 2016-03-24 13:31:38 +07:00
parent 383c6116aa
commit de8bd563d0

View file

@ -70,6 +70,11 @@ echo "$rsync_command"
$rsync_command $rsync_command
echo "rsync complete" echo "rsync complete"
if [ $mode == "main" ]; then
lilalog "Deploy logger configuration"
rsync -av conf/prod-logger.xml $REMOTE:/etc/lichess.logger.xml
fi
read -n 1 -p "Press [Enter] to complete deployment to $mode server $REMOTE:$REMOTE_DIR" read -n 1 -p "Press [Enter] to complete deployment to $mode server $REMOTE:$REMOTE_DIR"
if [ $mode == "main" ]; then if [ $mode == "main" ]; then