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:
parent
b1250de389
commit
ace23737ab
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user