Unmount rclone lazily

This commit is contained in:
Manuel Thalmann 2022-11-11 09:08:41 +01:00
parent b88f2507fc
commit 4b822f5bf0

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