File kdump.service of Package kdump
[Unit]
Description=Load kdump kernel
Wants=local-fs.target
After=local-fs.target
[Service]
Type=oneshot
RemainAfterExit=true
EnvironmentFile=/etc/kdump.conf
ExecStart=kexec --load-panic ${KDUMP_KERNEL} --initrd=${KDUMP_INITRD} --append="systemd.unit=makedumpfile.service ${KDUMP_KERNEL_CMDLINE}" --reset-vga
ExecStop=kexec --load-panic --unload
[Install]
WantedBy=multi-user.target