/lib/systemd/system/mdadm-last-resort@.service is in mdadm 4.0-2ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 | [Unit]
Description=Activate md array even though degraded
DefaultDependencies=no
ConditionPathExists=!/sys/devices/virtual/block/%i/md/sync_action
[Service]
Type=oneshot
ExecStart=/sbin/mdadm --run /dev/%i
|