summaryrefslogtreecommitdiffstats
path: root/systemd/mdadm-last-resort@.service
blob: efeb3f639193b90358a7c2bcc9f23c87d9157ca9 (plain)
1
2
3
4
5
6
7
8
[Unit]
Description=Activate md array %I even though degraded
DefaultDependencies=no
ConditionPathExists=!/sys/devices/virtual/block/%i/md/sync_action

[Service]
Type=oneshot
ExecStart=BINDIR/mdadm --run /dev/%i