Guest User

reliable rclone gdrive mount

a guest
Jun 14th, 2019
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.60 KB | None | 0 0
  1. [Unit]
  2. Description=RClone Service
  3. AssertPathIsDirectory=/mnt/gdrive
  4. After=network-online.target
  5.  
  6. [Service]
  7. Type=simple
  8. ExecStart=rclone mount gdrive: /mnt/gdrive --config=/root/.config/rclone/rclone.conf --allow-other --buffer-size 256M --dir-cache-time 12h --poll-interval 7m --drive-chunk-size 32M --log-level DEBUG --log-file /home/user/logs/rclone.log --umask 002 --vfs-read-chunk-size 128M --vfs-read-chunk-size-limit off --vfs-cache-max-age 168h --vfs-cache-poll-interval 7m --size-only
  9. ExecStop=/bin/fusermount -uz /mnt/gdrive
  10. Restart=always
  11. RestartSec=10
  12.  
  13. [Install]
  14. WantedBy=default.target
Advertisement
Add Comment
Please, Sign In to add comment