Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # /etc/systemd/system/rclone.service (mine after it has been updated)
- [Unit]
- Description=GDrive (rclone)
- RequiresMountsFor=/mnt/downloadhd/gdrive
- After=network-online.target
- [Service]
- Type=notify
- ExecStart=/usr/bin/rclone mount gdrive: /mnt/downloadhd/gdrive \
- --config /home/container/.config/rclone/rclone.conf \
- --allow-other \
- --allow-non-empty \
- --dir-cache-time 1000h \
- --poll-interval 15s \
- --vfs-cache-mode full \
- --vfs-cache-max-age 24h \
- --vfs-read-ahead 100G \
- --vfs-read-chunk-size 512M \
- --vfs-read-chunk-size-limit 2G \
- --vfs-cache-max-size 500G \
- --buffer-size 512M \
- --log-level INFO \
- --log-file /home/container/logs/rclone.log
- ExecStop=/bin/fusermount -uz /mnt/downloadhd/gdrive
- Restart=on-failure
- RestartSec=10
- KillMode=none
- User=container
- Group=container
- [Install]
- WantedBy=default.target
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement