Skip to content

Commit

Permalink
redirect rsync results to stdout to see them in docker logs
Browse files Browse the repository at this point in the history
  • Loading branch information
tarkilhk committed Mar 28, 2024
1 parent 651fd2b commit 6ecde23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/rsync-script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ else

# Perform the rsync operation here
# Replace the following line with your actual rsync command
rsync -avz $SOURCE_DIR/ $DEST_DIR
rsync -avz $SOURCE_DIR/ $DEST_DIR >> /dev/stdout

# Delete the lock file
rm "${LOCKFILE}"
Expand Down

0 comments on commit 6ecde23

Please sign in to comment.