Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # /etc/systemd/system/rclone_vfs.service
- #########################################################################
- # Title: Cloudbox: Rclone VFS Mount #
- # Author(s): EnorMOZ #
- # URL: https://github.com/cloudbox/cloudbox #
- # -- #
- # Part of the Cloudbox project: https://cloudbox.works #
- #########################################################################
- # GNU General Public License v3.0 #
- #########################################################################
- [Unit]
- Description=Rclone VFS Mount
- After=network-online.target
- [Service]
- User=root
- Group=root
- Type=notify
- ExecStartPre=/bin/sleep 10
- ExecStart=/usr/bin/rclone mount \
- --allow-other \
- --fast-list \
- --drive-skip-gdocs \
- --vfs-read-chunk-size=64M \
- --vfs-read-chunk-size-limit=2048M \
- --vfs-cache-max-size=4G \
- --log-file=/home/astalush/rclone.log \
- --buffer-size=64M \
- --max-read-ahead=256M \
- --poll-interval=1m \
- --dir-cache-time=168h \
- --timeout=10m \
- --transfers=16 \
- --drive-chunk-size=64M \
- gdrive: /mnt/gdrive
- ExecStop=fusermount -uz /mnt/gdrive
- Restart=on-abort
- RestartSec=5
- StartLimitInterval=60s
- StartLimitBurst=3
- [Install]
- WantedBy=default.target
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement