deploy prod logger before
parent
3b57efc1fc
commit
e457c90dda
|
@ -73,13 +73,13 @@ echo "rsync complete"
|
||||||
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
|
||||||
|
lilalog "Deploy logger configuration"
|
||||||
|
rsync -av conf/prod-logger.xml $REMOTE:/etc/lichess.logger.xml
|
||||||
lilalog "Notify users of post deploy"
|
lilalog "Notify users of post deploy"
|
||||||
bin/cli-prod deploy post
|
bin/cli-prod deploy post
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $mode == "main" ]; then
|
if [ $mode == "main" ]; then
|
||||||
lilalog "Deploy logger configuration"
|
|
||||||
rsync -av conf/prod-logger.xml $REMOTE:/etc/lichess.logger.xml
|
|
||||||
lilalog "Restart lichess"
|
lilalog "Restart lichess"
|
||||||
ssh $REMOTE "chown -R lichess:lichess $REMOTE_DIR && service lichess restart"
|
ssh $REMOTE "chown -R lichess:lichess $REMOTE_DIR && service lichess restart"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue