I'd like to automatically mount a nextcloud directory (webdav) with my keepass-database in it using
rclone whenever I start KeepassXC and unmount it after closing Keepass. Is there any way to do this (Maybe some kind of hook-functionality?)
I know that I could create a systemd service to mount the directory at startup, but I like the idea of not having it mounted all the time.
Any help and hints are appreciated (it's an Arch Linux System).