Skip to content

Commit 01fd9ac

Browse files
committed
use modern version of rclone
1 parent 4382e1b commit 01fd9ac

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

railway-entrypoint.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ if [[ -z "${RCLONE_CONFIG}" ]]; then
1111
echo "RCLONE_CONFIG is not specified. Files will not persist"
1212
else
1313
echo "Copying rclone config..."
14-
echo $RCLONE_CONFIG | base64 -d > .rclone.conf
14+
mkdir -p /home/coder/.config/rclone
15+
echo $RCLONE_CONFIG | base64 -d > /home/coder/.config/rclone/rclone.conf
1516

1617
# serve remote files on the first item in the rclone config
1718
rclone serve sftp code-server-files:/home/coder/ --no-auth --vfs-cache-mode full&

0 commit comments

Comments
 (0)