Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #! /bin/sh
- # Mount ultra over sftp using socks proxy to route all traffic through the VPN for SFTP.
- # Uses the socks proxy defined in the docker-compose
- # Remove "--sftp-socks-proxy 127.0.0.1:1080" part if you don't want to use VPN for mounting ultra.
- rclone mount \
- --sftp-socks-proxy 127.0.0.1:1080 \
- ultra: /home/andyl/mounts/ultra2 \
- --vfs-cache-mode full \
- --vfs-cache-max-size 2G \
- --vfs-cache-max-age 24h \
- --vfs-read-ahead 1G \
- --buffer-size 32M \
- --poll-interval 30s \
- --dir-cache-time 10s \
- --timeout 10m \
- --retries 5 \
- --low-level-retries 10 \
- --allow-other \
- --log-level INFO \
- --log-file /tmp/rclone-ultra-mount.log \
- --daemon
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement