Force rclone to cache
This commit is contained in:
parent
0cb957de37
commit
e02fc6338c
1 changed files with 2 additions and 0 deletions
|
@ -16,6 +16,8 @@ ExecStart= \
|
||||||
/usr/bin/rclone mount \
|
/usr/bin/rclone mount \
|
||||||
--config=%h/.config/rclone/rclone.conf \
|
--config=%h/.config/rclone/rclone.conf \
|
||||||
--vfs-cache-mode full \
|
--vfs-cache-mode full \
|
||||||
|
--vfs-cache-max-age 72h \
|
||||||
|
--vfs-cache-max-size 100G \
|
||||||
--log-file /tmp/rclone/$target.log \
|
--log-file /tmp/rclone/$target.log \
|
||||||
$target: "%h/$dirname"'
|
$target: "%h/$dirname"'
|
||||||
ExecStop=bash -c '/bin/fusermount -zu "%h/${EXPRESSION#*":"}"'
|
ExecStop=bash -c '/bin/fusermount -zu "%h/${EXPRESSION#*":"}"'
|
||||||
|
|
Loading…
Reference in a new issue