From 54473184af4ddaeea5727fec6b3e8870b5c658c5 Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Mon, 12 Aug 2019 11:26:37 +0200 Subject: [PATCH] crashkernel: Add panic=5 Set kernel.panic to 5 to enable reboot after 5 seconds in case of a panic in the crashkernel. --- misc_systemd_units/crashkernel.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc_systemd_units/crashkernel.service b/misc_systemd_units/crashkernel.service index 6f4a92a..d5a944d 100644 --- a/misc_systemd_units/crashkernel.service +++ b/misc_systemd_units/crashkernel.service @@ -6,7 +6,7 @@ ConditionPathExists=/boot/bzImage.crash StandardOutput=kmsg StandardError=kmsg Type=oneshot -ExecStart=/usr/sbin/kexec -p /boot/bzImage.crash --initrd=/boot/grub/initramfs.igz --command-line="root=LABEL=root ro console=ttyS1,115200n8 console=tty0 irqpoll maxcpus=1 reset_devices CRASH" +ExecStart=/usr/sbin/kexec -p /boot/bzImage.crash --initrd=/boot/grub/initramfs.igz --command-line="root=LABEL=root ro console=ttyS1,115200n8 console=tty0 irqpoll maxcpus=1 reset_devices panic=5 CRASH" ExecStop=/usr/sbin/kexec -p -u RemainAfterExit=yes