diff --git a/configs/synchro.sh b/configs/synchro.sh index 4d50b826..ad309a00 100644 --- a/configs/synchro.sh +++ b/configs/synchro.sh @@ -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 TEAMS SETTINGS FILES "${FRONTEND_HOSTNAME}":"${BASEDIR}" + rsync -e "$SSH_OPTS" -av --delete --links TEAMS SETTINGS FILES "${FRONTEND_HOSTNAME}":"${BASEDIR}" # Synchronize submissions - rsync -e "$SSH_OPTS" -av --delay-updates --temp-dir=.tmp/ --partial-dir=.tmp/ --remove-source-files "${FRONTEND_HOSTNAME}":"${BASEDIR}"/submissions/ submissions/ + rsync -e "$SSH_OPTS" -av --links --delay-updates --temp-dir=.tmp/ --partial-dir=.tmp/ --remove-source-files "${FRONTEND_HOSTNAME}":"${BASEDIR}"/submissions/ submissions/ sleep 0.3 done