2021-11-03 23:33:35 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Crash recovery kernel arming
|
|
|
|
After=network.target network-online.target remote-fs.target basic.target
|
|
|
|
DefaultDependencies=no
|
|
|
|
ConditionKernelCommandLine=crashkernel
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
|
|
|
ExecStart=/usr/bin/kdumpctl start
|
|
|
|
ExecStop=/usr/bin/kdumpctl stop
|
|
|
|
ExecReload=/usr/bin/kdumpctl reload
|
|
|
|
RemainAfterExit=yes
|
|
|
|
StartLimitInterval=0
|
2023-09-21 18:55:35 +00:00
|
|
|
PrivateTmp=yes
|
2021-11-03 23:33:35 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|