billing
This commit is contained in:
parent
7b9078c6da
commit
42c08797e3
44 changed files with 2798 additions and 350 deletions
|
|
@ -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"
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue