[systemd-devel] Antw: Re: Antw: [EXT] emergency shutdown, don't wait for timeouts

Ulrich Windl Ulrich.Windl at rz.uni-regensburg.de
Mon Jan 4 15:04:07 UTC 2021


>>> Reindl Harald <h.reindl at thelounge.net> schrieb am 04.01.2021 um 14:53 in
Nachricht <49b8413f-3131-658f-e21a-a1ee448a004a at thelounge.net>:

> 
> Am 04.01.21 um 13:42 schrieb Ulrich Windl:
>>>>> Germano Massullo <germano.massullo at gmail.com> schrieb am 27.12.2020 um
>> 14:26 in
>> Nachricht <df991822-83cf-85e1-5bc0-c6ec99f9cac0 at gmail.com>:
>>> Good day, I recently joined apcupsd (APC UPS Power Control Daemon)
>>> package maintainers on Fedora/CentOS/RHEL.
>>> After a power failure, apcupsd shuts down the system with a command
>>> almost identical to
>>> shutdown ‑h ‑H now
>>> Usually when you normally shutdown your system, you may notice certain
>>> services taking too much time to terminate and triggering a timeout
>>> value before systemd forces them to terminate. I would like to ask if
>>> there is a way to force the system to shutdown without waiting for these
>>> timeouts in case an emergency like a power failure.
>> 
>> Basically if the UPS cannot provide power for at least 3 minutes, it's 
> simply
>> the wrong UPS (IMHO)
> 
> topic missed - it makes no difference if it can hold the power 3 
> minutes, 3 hours or even 3 days at the point where it decides "i need to 
> shutdown everything because the battery goes empty"

Harald,

I did not say anything against shutting down everything. Maybe re-read.

Ulrich







More information about the systemd-devel mailing list