File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -7,15 +7,15 @@ START_DIR=${1:-/home/coder/project}
7
7
[ -z " ${GIT_REPO} " ] && echo " No GIT_REPO specified" ; git clone $GIT_REPO $START_DIR
8
8
9
9
# add rclone config and start rclone, if supplied
10
- if [[ -z " ${RCLONE_CONFIG } " ]]; then
11
- echo " RCLONE_CONFIG is not specified. Files will not persist"
10
+ if [[ -z " ${RCLONE_DATA } " ]]; then
11
+ echo " RCLONE_DATA is not specified. Files will not persist"
12
12
else
13
13
echo " Copying rclone config..."
14
14
mkdir -p /home/coder/.config/rclone/
15
15
touch /home/coder/.config/rclone/rclone.conf
16
- # echo $RCLONE_CONFIG | base64 -d > /home/coder/.config/rclone/rclone.conf
16
+ echo $RCLONE_DATA | base64 -d > /home/coder/.config/rclone/rclone.conf
17
17
18
- # serve remotee files on the first item in the rclone config
18
+ # serve remote files on the first item in the rclone config
19
19
# rclone serve sftp code-server-files:/home/coder/ --no-auth --vfs-cache-mode full&
20
20
fi
21
21
You can’t perform that action at this time.
0 commit comments