2020-10-15 12:45:57 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Crash recovery kernel arming
|
|
|
|
After=network.target network-online.target remote-fs.target basic.target
|
|
|
|
DefaultDependencies=no
|
2020-11-05 05:34:29 +00:00
|
|
|
ConditionKernelCommandLine=crashkernel
|
2020-10-15 12:45:57 +00:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
|
|
|
ExecStart=/usr/bin/kdumpctl start
|
|
|
|
ExecStop=/usr/bin/kdumpctl stop
|
|
|
|
ExecReload=/usr/bin/kdumpctl reload
|
|
|
|
RemainAfterExit=yes
|
|
|
|
StartLimitInterval=0
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|