summaryrefslogtreecommitdiff
blob: e75e59483dc28b9fe6714b2d7c5ceae6302a26d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
[Unit]
Description=load %i kernel into the current kernel
Documentation=man:kexec(8)
DefaultDependencies=no
Before=shutdown.target umount.target final.target

[Service]
Type=oneshot
ExecStart=/usr/sbin/kexec -l /boot/vmlinuz-%i --initrd=/boot/initramfs-%i.img --reuse-cmdline

[Install]
WantedBy=kexec.target