Re: [systemd-devel] How to reboot from within a service

2021-04-19 Thread Norbert Lange
Am Mo., 19. Apr. 2021 um 16:02 Uhr schrieb Lennart Poettering : > > On So, 18.04.21 12:01, Norbert Lange (nolang...@gmail.com) wrote: > > > Hello, > > > > My setup is some embedded system without logind, running a service > > that should be able to poweroff, reboot or reboot-and-update. > > General

Re: [systemd-devel] How to reboot from within a service

2021-04-19 Thread Lennart Poettering
On So, 18.04.21 12:01, Norbert Lange (nolang...@gmail.com) wrote: > Hello, > > My setup is some embedded system without logind, running a service > that should be able to poweroff, reboot or reboot-and-update. > Generally I guess this also includes triggering further services > programmatically fr

[systemd-devel] How to reboot from within a service

2021-04-18 Thread Norbert Lange
Hello, My setup is some embedded system without logind, running a service that should be able to poweroff, reboot or reboot-and-update. Generally I guess this also includes triggering further services programmatically fron another. 1) As I do currently: send SIGRTMIN+5 to PID1 (not really the