diff options
author | Alex Auvolat <alex@adnab.me> | 2021-11-25 13:57:00 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2021-11-25 13:57:00 +0100 |
commit | 16517652f5fc36367b7ab707af11b99317057ca8 (patch) | |
tree | 64063fe3dfadadda230ab036a629cbd7d4c812c9 /lindy | |
parent | 3ffe74e408a0042b2b828d57a38322545d12db09 (diff) | |
download | user-config-16517652f5fc36367b7ab707af11b99317057ca8.tar.gz user-config-16517652f5fc36367b7ab707af11b99317057ca8.zip |
add cache mode
Diffstat (limited to 'lindy')
-rw-r--r-- | lindy/systemd/rclone-mount@.service | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lindy/systemd/rclone-mount@.service b/lindy/systemd/rclone-mount@.service index e2237b5..2f5a454 100644 --- a/lindy/systemd/rclone-mount@.service +++ b/lindy/systemd/rclone-mount@.service @@ -4,7 +4,7 @@ After=network.target [Service] ExecStartPre=sh -c "fusermount -u /home/lx.nobackup/mnt/%i || exit 0" -ExecStart=/usr/bin/rclone mount %i: /home/lx.nobackup/mnt/%i +ExecStart=/usr/bin/rclone mount --vfs-cache-mode minimal --cache-dir /home/lx/.cache/rclone/%i %i: /home/lx.nobackup/mnt/%i # Restart every >2 seconds to avoid StartLimitInterval failure RestartSec=10 |