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