When the md device actually appears we want to stop the timer and not
bother with the mdadm-last-resort@.server. In particular, running
that causes confusing messages and is in general best avoided.
Fortuantely this can simply be achieved with a Conflicts= line
Signed-off-by: NeilBrown <neilb@suse.de>
[Unit]
Description=Timer to wait for more drives before activating degraded array.
DefaultDependencies=no
+Conflicts=sys-devices-virtual-block-%i.device
[Timer]
OnActiveSec=30