going to live

This commit is contained in:
2017-05-16 20:58:52 +02:00
parent 285f83523b
commit 7b33a83298
21 changed files with 2495 additions and 183 deletions

View File

@ -4,10 +4,14 @@ FSPATH=/srv/www/yavsc
(
set -e
ssh root@localhost service kestrel stop
ssh root@localhost rm -rf $FSPATH/approot/src
cd bin/output/
sleep 1
rsync -ravu wwwroot approot root@localhost:$FSPATH
sleep 1
ssh root@localhost sync
ssh root@localhost service kestrel restart
sleep 1
ssh root@localhost service kestrel start
)