[MEF]+script
This commit is contained in:
parent
2cbf44d4a0
commit
f0459e908b
17 changed files with 600 additions and 64 deletions
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
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue