Update 'init/entrypoint.sh'
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Danny Bessems 2020-11-14 12:34:53 +00:00
parent 26cb1f0438
commit 75df534ec5

View File

@ -2,10 +2,10 @@
set -eox pipefail
if [ "$RUN_ONCE" = "true" ]; then
rsync -az --info=progress2 $SOURCE_DIR $TARGET_DIR
rsync -az --info=progress --no-links $SOURCE_DIR $TARGET_DIR
else
cat /proc/sys/fs/inotify/max_user_watches
while inotifywait -r -e modify,create,delete,move $SOURCE_DIR; do
rsync -az --info=progress2 $SOURCE_DIR $TARGET_DIR
rsync -az --info=progress --no-links $SOURCE_DIR $TARGET_DIR
done
fi