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