dracut-kdump-capture.service: Use OnFailureJobMode instead of deprecated OnFailureIsolate

systemd has the following message "OnFailureIsolate is deprecated. Please
use OnFailureJobMode= instead"

Changing the file to meet systemd's requirement

Signed-off-by: Pingfan Liu <piliu@redhat.com>
Acked-by: Kairui Song <kasong@redhat.com>
This commit is contained in:
Pingfan Liu 2019-06-13 11:45:36 +08:00 committed by Kairui Song
parent b1250de389
commit ace23737ab

View File

@ -12,7 +12,7 @@ After=dracut-initqueue.service dracut-pre-mount.service dracut-mount.service dra
Before=initrd-cleanup.service Before=initrd-cleanup.service
ConditionPathExists=/etc/initrd-release ConditionPathExists=/etc/initrd-release
OnFailure=emergency.target OnFailure=emergency.target
OnFailureIsolate=yes OnFailureJobMode=isolate
[Service] [Service]
Environment=DRACUT_SYSTEMD=1 Environment=DRACUT_SYSTEMD=1