#5 kdump.service: use ConditionKernelCommandLine=crashkernel
Merged 3 years ago by kasong. Opened 3 years ago by jlebon.
rpms/ jlebon/kexec-tools pr/conditional  into  master

file modified
+1
@@ -2,6 +2,7 @@ 

  Description=Crash recovery kernel arming

  After=network.target network-online.target remote-fs.target basic.target

  DefaultDependencies=no

+ ConditionKernelCommandLine=crashkernel

  

  [Service]

  Type=oneshot

Because otherwise, kdumpctl start will fail anyway. This makes it
easier to enable kdump by simply adding the mandatory karg and leaving
the service enabled.

Pull-Request has been merged by kasong

3 years ago