systemd: add %I to description of mdadm-last-resort services.

Just like the other template services, include the instance
name (I%) in the description of
 mdadm-last-resort@.service
 mdadm-last-resort@.timer

so that it is clear from the logs which array is affected.

Reported-by: Andrei Borzenkov <arvidjaar@gmail.com>
Link: http://bugzilla.opensuse.org/show_bug.cgi?id=1064915
Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
This commit is contained in:
NeilBrown 2017-10-30 11:42:15 +11:00 committed by Jes Sorensen
parent 7105228e19
commit 3d6a7c8472
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
[Unit]
Description=Activate md array even though degraded
Description=Activate md array %I even though degraded
DefaultDependencies=no
ConditionPathExists=!/sys/devices/virtual/block/%i/md/sync_action

View File

@ -1,5 +1,5 @@
[Unit]
Description=Timer to wait for more drives before activating degraded array.
Description=Timer to wait for more drives before activating degraded array %I.
DefaultDependencies=no
Conflicts=sys-devices-virtual-block-%i.device