[MEF]+script
This commit is contained in:
12
Yavsc/contrib/rsync-to-pre.sh
Executable file
12
Yavsc/contrib/rsync-to-pre.sh
Executable 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
|
||||
)
|
Reference in New Issue
Block a user