We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e8f6d4 commit f43a5d3Copy full SHA for f43a5d3
railway-entrypoint.sh
@@ -16,7 +16,10 @@ else
16
echo $RCLONE_DATA | base64 -d > /home/coder/.config/rclone/rclone.conf
17
18
echo "Syncing files..."
19
- rclone sync ${RCLONE_SOURCE:-"/home/coder/"} ${RCLONE_REMOTE_NAME:-code-server-remote}:${RCLONE_DESTINATION:-code-server-files}
+
20
+ touch /home/coder/sync_remote.sh && chmod +x /home/coder/sync_remote.sh
21
+ echo "rclone sync ${RCLONE_SOURCE:-"/home/coder/"} ${RCLONE_REMOTE_NAME:-code-server-remote}:${RCLONE_DESTINATION:-code-server-files}" > /home/coder/sync_remote.sh
22
+ /home/coder/sync_remote.sh
23
fi
24
25
# Now we can run code-server with the default entrypoint
0 commit comments