[systemd-devel] Antw: [EXT] Re: reboot on emergency.target

Ulrich Windl Ulrich.Windl at rz.uni-regensburg.de
Tue Apr 7 11:01:14 UTC 2020


>>> Michal Zegan <webczat_200 at poczta.onet.pl> schrieb am 07.04.2020 um 11:32 in
Nachricht
<5085_1586252516_5E8C4AE3_5085_481_1_30bb2233-0ec7-ce60-a2fb-1e6830564358 at poczta
onet.pl>:
> Hi,
> Curious what is the use case. For me emergency is used mostly when I run
> the kernel with the emergency cmdline parameter or when something fails
> and I have to debug it before everything else starts.

"Boot makes everything good"? (from German "Alles gut macht der Boot") ;-)
> 
> W dniu 07.04.2020 o 10:26, Matwey V. Kornilov pisze:
>> Hi,
>> 
>> I would like my system to reboot (with some cool down timeout) on
>> emergency.target instead of running the emergency shell. What would be
>> the recommended way to achieve this behavior? Is it ok just to override
>> default emergency.service to whatever I want?
>> 
>> _______________________________________________
>> systemd-devel mailing list
>> systemd-devel at lists.freedesktop.org 
>> https://lists.freedesktop.org/mailman/listinfo/systemd-devel 
>> 
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org 
> https://lists.freedesktop.org/mailman/listinfo/systemd-devel 






More information about the systemd-devel mailing list