[MEF]+script

This commit is contained in:
Paul Schneider 2017-04-01 07:06:18 +02:00
commit f0459e908b
17 changed files with 600 additions and 64 deletions

13
Yavsc/contrib/rsync-to-prod.sh Executable file
View file

@ -0,0 +1,13 @@
#!/bin/bash
FSPATH=/srv/www/yavsc
ssh root@localhost rm -rf $FSPATH/approot/src
(
set -e
cd bin/output/
rsync -ravu wwwroot approot root@localhost:$FSPATH
ssh root@localhost service kestrel restart
)