Force rclone to cache

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

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#*":"}"'