[systemd-devel] Antw: [EXT] Re: Help required for configuring a blocking service during shutdown

Ulrich Windl Ulrich.Windl at rz.uni-regensburg.de
Wed Aug 31 06:07:56 UTC 2022


>>> Henning Moll <newsScott at gmx.de> schrieb am 30.08.2022 um 16:24 in
Nachricht
<trinity-f47b7230-3ed8-4fa0-acbd-9c89b0e05b33-1661869465209 at 3c-app-gmx-bs58>:
> Hi,
> 
> This is an interesting mechanism, but unfortunately it is to weak for my use

> case: It does only delay reboots which are initiated via "systemctl ...". A

> "sudo reboot" is not delayed

At least in the past there was a difference between "reboot" and "shutdown -r
now":
The former wouldn't care much about how the reboot is done, while the latter
would try an orderly shutdown before reboot.

> 
> Best regards
> Henning
> Gesendet: Dienstag, 30. August 2022 um 10:14 UhrVon: "Michael Biebl" 
> <mbiebl at gmail.com>An: "Mantas Mikulėnas" <grawity at gmail.com>Cc: "Henning
Moll" 
> <newsScott at gmx.de>, "Systemd" <systemd-devel at lists.freedesktop.org>Betreff:
Re: 
> [systemd-devel] Help required for configuring a blocking service during 
> shutdown
> Would the systemd inhibit interface be an 
> option?https://www.freedesktop.org/wiki/Software/systemd/inhibit/It was 
> designed for that use case after all.




More information about the systemd-devel mailing list