Skip to content
Permalink
9ace072a50
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
17 lines (15 sloc) 559 Bytes
[Unit]
Description=load crashkernel if enabled
Wants=startup-crashmemory.service
After=startup-crashmemory.service
ConditionPathExists=/node/startup-crashmemory/available
ConditionPathExists=/boot/bzImage.crash
[Service]
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 nr_cpus=1 reset_devices panic=5 CRASH"
ExecStop=/usr/sbin/kexec -p -u
RemainAfterExit=yes
[Install]
WantedBy=basic.target