Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Unit]
- Description=OneDrive (rclone)
- After=network.target
- [Service]
- Type=simple
- ExecStart=/usr/bin/rclone \
- --config=!!## PATH RCLONE CONFIG ##!! \
- --bind 0.0.0.0 \
- --allow-other \
- --no-modtime \
- --stats=0 \
- --vfs-cache-mode=full \
- --vfs-cache-max-age=10m \
- --vfs-cache-max-size=10G \
- --log-level=INFO \
- --log-file=!!## PATH LOCAL LOGFILE ##!! \
- --onedrive-no-versions \
- --tpslimit=40 \
- --tpslimit-burst=50 \
- --disable-http2 \
- --ignore-checksum \
- --no-check-certificate \
- --checkers=6 \
- --cache-dir=!!## PATH RCLONE CACHE ##!! \
- --multi-thread-streams=6 \
- --vfs-fast-fingerprint \
- --vfs-read-chunk-size=128M \
- --vfs-read-chunk-size-limit=1G \
- --vfs-cache-poll-interval=5m \
- --contimeout=10m \
- --timeout=10m \
- mount RCLONE_REMOTE_NAME: /Local_Folder/
- ExecStop=/usr/bin/rclone mount RCLONE_REMOTE_NAME: /Local_Folder/ --unmount
- Restart=always
- RestartSec=10
- TimeoutStartSec=60
- TimeoutStopSec=60
- [Install]
- WantedBy=default.target
Advertisement
Add Comment
Please, Sign In to add comment