Skip to content

Commit af4db8c

Browse files
committed
capture rclone logs
1 parent 78f71f3 commit af4db8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

railway-entrypoint.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ else
1616
echo $RCLONE_DATA | base64 -d > /home/coder/.config/rclone/rclone.conf
1717

1818
echo "Syncing files..."
19-
rclone sync ${RCLONE_SOURCE:-"/home/coder/"} ${RCLONE_REMOTE_NAME:-code-server-remote}:${RCLONE_DESTINATION:-code-server-files} &
19+
rclone sync ${RCLONE_SOURCE:-"/home/coder/"} ${RCLONE_REMOTE_NAME:-code-server-remote}:${RCLONE_DESTINATION:-code-server-files} 2>&1 | tee /tmp/rclone-logs.txt
2020
fi
2121

2222
# Now we can run code-server with the default entrypoint

0 commit comments

Comments
 (0)