Dump rclone service logs to the console

This commit is contained in:
Manuel Thalmann 2024-10-22 21:18:17 +02:00
parent 4e80e7eef0
commit d33ed8e0cc

View file

@ -23,7 +23,7 @@ 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 \
--log-file /tmp/rclone/$target.log \ --log-level INFO \
$args \ $args \
$target: "$destination";' $target: "$destination";'
ExecStop=bash -c '/bin/fusermount -zu "`cd "%h/.mnt"; realpath "$(echo "$EXPRESSION" | cut -d":" -f2)"`"' ExecStop=bash -c '/bin/fusermount -zu "`cd "%h/.mnt"; realpath "$(echo "$EXPRESSION" | cut -d":" -f2)"`"'