Unmount rclone lazily

This commit is contained in:
Manuel Thalmann 2022-11-11 09:08:41 +01:00
parent 36e77dcf8e
commit 62df9b7384

View file

@ -18,7 +18,7 @@ ExecStart= \
--vfs-cache-mode full \
--log-file /tmp/rclone/$target.log \
$target: "%h/$dirname"'
ExecStop=bash -c '/bin/fusermount -u "%h/${EXPRESSION#*":"}"'
ExecStop=bash -c '/bin/fusermount -zu "%h/${EXPRESSION#*":"}"'
[Install]
WantedBy=default.target