mdamd-last-resort: add a Conflicts line to stop the timer.
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>
This commit is contained in:
parent
25392f5fc5
commit
79d8213f29
|
@ -1,6 +1,7 @@
|
|||
[Unit]
|
||||
Description=Timer to wait for more drives before activating degraded array.
|
||||
DefaultDependencies=no
|
||||
Conflicts=sys-devices-virtual-block-%i.device
|
||||
|
||||
[Timer]
|
||||
OnActiveSec=30
|
||||
|
|
Loading…
Reference in New Issue