893e0b
[Unit]
893e0b
Description=Crash recovery kernel arming
893e0b
After=network.target network-online.target remote-fs.target basic.target
893e0b
DefaultDependencies=no
8f4abc
ConditionKernelCommandLine=crashkernel
893e0b
893e0b
[Service]
893e0b
Type=oneshot
893e0b
ExecStart=/usr/bin/kdumpctl start
893e0b
ExecStop=/usr/bin/kdumpctl stop
893e0b
ExecReload=/usr/bin/kdumpctl reload
893e0b
RemainAfterExit=yes
893e0b
StartLimitInterval=0
893e0b
893e0b
[Install]
893e0b
WantedBy=multi-user.target