[systemd-devel] reboot on emergency.target

Michał Zegan webczat_200 at poczta.onet.pl
Tue Apr 7 09:32:28 UTC 2020


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.

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
> 


More information about the systemd-devel mailing list