Does anyone have a working systemd mount unit for restic? After many months I keep getting problems with mine (not mounting, blocking other systemd units that rely on it):
# ~/.config/systemd/user/mount-restic.service
[Unit]
After = default.target
StartLimitIntervalSec=500
StartLimitBurst=20
[Service]
Type=simple
ExecStart = restic mount --no-lock /mnt/restic --repo rclone:gdrive:backups/restic --password-file /home/user/.config/restic/password &
RestartSec=5
[Install]
WantedBy = default.target