make sync script public
This commit is contained in:
@@ -16,7 +16,10 @@ 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}
|
||||
|
||||
touch /home/coder/sync_remote.sh && chmod +x /home/coder/sync_remote.sh
|
||||
echo "rclone sync ${RCLONE_SOURCE:-"/home/coder/"} ${RCLONE_REMOTE_NAME:-code-server-remote}:${RCLONE_DESTINATION:-code-server-files}" > /home/coder/sync_remote.sh
|
||||
/home/coder/sync_remote.sh
|
||||
fi
|
||||
|
||||
# Now we can run code-server with the default entrypoint
|
||||
|
||||
Reference in New Issue
Block a user