Force rclone to cache

This commit is contained in:
Manuel Thalmann 2022-11-16 18:55:24 +01:00
parent 0cb957de37
commit e02fc6338c

View file

@ -16,6 +16,8 @@ ExecStart= \
/usr/bin/rclone mount \
--config=%h/.config/rclone/rclone.conf \
--vfs-cache-mode full \
--vfs-cache-max-age 72h \
--vfs-cache-max-size 100G \
--log-file /tmp/rclone/$target.log \
$target: "%h/$dirname"'
ExecStop=bash -c '/bin/fusermount -zu "%h/${EXPRESSION#*":"}"'