capture rclone logs
This commit is contained in:
@@ -16,7 +16,7 @@ else
|
||||
echo $RCLONE_DATA | base64 -d > /home/coder/.config/rclone/rclone.conf
|
||||
|
||||
echo "Syncing files..."
|
||||
rclone sync ${RCLONE_SOURCE:-"/home/coder/"} ${RCLONE_REMOTE_NAME:-code-server-remote}:${RCLONE_DESTINATION:-code-server-files} &
|
||||
rclone sync ${RCLONE_SOURCE:-"/home/coder/"} ${RCLONE_REMOTE_NAME:-code-server-remote}:${RCLONE_DESTINATION:-code-server-files} 2>&1 | tee /tmp/rclone-logs.txt
|
||||
fi
|
||||
|
||||
# Now we can run code-server with the default entrypoint
|
||||
|
||||
Reference in New Issue
Block a user