This commit is contained in:
Paul Schneider 2017-05-12 12:15:57 +02:00
commit 42c08797e3
44 changed files with 2798 additions and 350 deletions

View file

@ -8,15 +8,11 @@ ssh root@localhost rm -rf $FSPATH/approot/src
set -e
cd bin/output/
rsync -ravu wwwroot approot root@localhost:$FSPATH
sleep 5
ssh root@localhost sync
ssh root@localhost service kestrel restart
)
sleep 15
echo "Now, go and try <https://yavscpre.pschneider.fr>"
# wait a little, for the processes to become stable
sleep 15
echo "Then, feel free to launch contrib/rsync-to-prod.sh"

View file

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