synchro: synchronize logs from frontend
This commit is contained in:
parent
f1c5681a37
commit
a82a0fb170
3 changed files with 7 additions and 0 deletions
|
|
@ -17,6 +17,9 @@ while ! [ -f SETTINGS/stop ] || [ /tmp/stop -nt SETTINGS/stop ]
|
|||
do
|
||||
rsync -e "$SSH_OPTS" -av --delete FILES "${FRONTEND_HOSTNAME}":"${BASEDIR}"
|
||||
|
||||
# Synchronize logs
|
||||
rsync -e "$SSH_OPTS" -av "${FRONTEND_HOSTNAME}":/var/log/ /var/log/frontend
|
||||
|
||||
sleep 5
|
||||
done &
|
||||
|
||||
|
|
|
|||
Reference in a new issue