diff --git a/init/entrypoint.sh b/init/entrypoint.sh index 78881f5..5f95af5 100644 --- a/init/entrypoint.sh +++ b/init/entrypoint.sh @@ -2,10 +2,10 @@ set -eox pipefail if [ "$RUN_ONCE" = "true" ]; then - rsync -az --info=progress --no-links $SOURCE_DIR $TARGET_DIR + rsync -az --info=progress "$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=progress --no-links $SOURCE_DIR $TARGET_DIR + rsync -az --info=progress "$SOURCE_DIR" "$TARGET_DIR" done fi \ No newline at end of file