synchro: back to the default behaviour: don't synchronize/erase files that aren't treated yet
This commit is contained in:
parent
771627a0da
commit
ff7c89af9f
1 changed files with 2 additions and 2 deletions
|
@ -19,10 +19,10 @@ touch /tmp/stop
|
|||
while ! [ -f SETTINGS/stop ] || [ /tmp/stop -nt SETTINGS/stop ]
|
||||
do
|
||||
# Synchronize static files pages
|
||||
rsync -e "$SSH_OPTS" -av --delete --links TEAMS SETTINGS FILES "${FRONTEND_HOSTNAME}":"${BASEDIR}"
|
||||
rsync -e "$SSH_OPTS" -av --delete TEAMS SETTINGS FILES "${FRONTEND_HOSTNAME}":"${BASEDIR}"
|
||||
|
||||
# Synchronize submissions
|
||||
rsync -e "$SSH_OPTS" -av --links --delay-updates --temp-dir=.tmp/ --partial-dir=.tmp/ --remove-source-files "${FRONTEND_HOSTNAME}":"${BASEDIR}"/submissions/ submissions/
|
||||
rsync -e "$SSH_OPTS" -av --ignore-existing --delay-updates --temp-dir=.tmp/ --partial-dir=.tmp/ --remove-source-files "${FRONTEND_HOSTNAME}":"${BASEDIR}"/submissions/ submissions/
|
||||
|
||||
sleep 0.3
|
||||
done
|
||||
|
|
Reference in a new issue