seems to be safer

main
Paul Schneider 9 years ago
parent a7525958f1
commit 4e76c2a76a
1 changed files with 4 additions and 1 deletions

@ -6,10 +6,13 @@ ssh root@localhost rm -rf $FSPATH/approot/src
( (
set -e set -e
ssh root@localhost service kestrel stop
cd bin/output/ cd bin/output/
rsync -ravu wwwroot approot root@localhost:$FSPATH rsync -ravu wwwroot approot root@localhost:$FSPATH
sleep 1
ssh root@localhost sync ssh root@localhost sync
ssh root@localhost service kestrel restart sleep 1
ssh root@localhost service kestrel start
) )
echo "Now, go and try <https://yavscpre.pschneider.fr>" echo "Now, go and try <https://yavscpre.pschneider.fr>"

Loading…