# /etc/systemd/system/mnt-media-monitor.service [Service] Type=oneshot ExecStart=/usr/bin/systemctl restart mnt-media.mount [Unit] Description=Persistent NFS Mount Watcher After=mnt-media.mount [Service] Type=oneshot ExecStart=/bin/sh -c 'if ! mountpoint -q /mnt/media; then systemctl restart mnt-media.mount; fi' Nice=19 IOSchedulingClass=idle