[systemd-devel] How to properly reboot the system from a service specified by `systemd.unit=` boot option?

2025-01-01 Thread Qu Wenruo
[BACKGROUND] I'm trying to implement a super simple kdump service(s) for Archlinux. The idea is super simple, just use the default linux kernel installed as kernel/initramfs for the kexec environment. So there is a kexec.service to setup the environment, with extra systemd options to disable

Re: [systemd-devel] How to properly reboot the system from a service specified by `systemd.unit=` boot option?

2025-01-01 Thread Andrei Borzenkov
01.01.2025 09:55, Qu Wenruo wrote: [BACKGROUND] I'm trying to implement a super simple kdump service(s) for Archlinux. The idea is super simple, just use the default linux kernel installed as kernel/initramfs for the kexec environment. So there is a kexec.service to setup the environment, with