[MEF]+script

This commit is contained in:
2017-04-01 07:06:18 +02:00
parent 48c7a163d0
commit b68a5274a0
17 changed files with 602 additions and 66 deletions

12
Yavsc/contrib/rsync-to-pre.sh Executable file
View File

@ -0,0 +1,12 @@
#!/bin/bash
FSPATH=/srv/www/yavscpre
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
)