We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9c53ca commit 47d741eCopy full SHA for 47d741e
railway-entrypoint.sh
@@ -11,8 +11,9 @@ if [[ -z "${RCLONE_CONFIG}" ]]; then
11
echo "RCLONE_CONFIG is not specified. Files will not persist"
12
else
13
echo "Copying rclone config..."
14
- mkdir -p /home/coder/.config/rclone
15
- echo $RCLONE_CONFIG | base64 -d > /home/coder/.config/rclone/rclone.conf
+ mkdir -p /home/coder/.config/rclone/
+ touch /home/coder/.config/rclone/rclone.conf
16
+ echo ($RCLONE_CONFIG | base64 -d) > /home/coder/.config/rclone/rclone.conf
17
18
# serve remote files on the first item in the rclone config
19
# rclone serve sftp code-server-files:/home/coder/ --no-auth --vfs-cache-mode full&
0 commit comments