Using systemd to run a Docker container only when an SMB mount is mounted
I have a Linux machine that mounts several shares from my NAS via Samba. I'd like it to run fscrawler in a Docker container for each of those shares, but only when the shares are working properly — if the share goes away while fscrawler is running, fscrawler will …