|
|
Log in / Subscribe / Register

Changing Fedora's shutdown timeouts

Changing Fedora's shutdown timeouts

Posted Jan 19, 2023 12:05 UTC (Thu) by smcv (subscriber, #53363)
In reply to: Changing Fedora's shutdown timeouts by tchernobog
Parent article: Changing Fedora's shutdown timeouts

> What I would like then is a way to selectively make certain services blocking the shutdown

This already exists and is mentioned in the article: it's the inhibitor lock mechanism, which follows the frequent systemd pattern of having a D-Bus API that services can call into, and a CLI that wraps it for use in scripts, in this case systemd-inhibit(1).


to post comments

Changing Fedora's shutdown timeouts

Posted Jan 19, 2023 12:22 UTC (Thu) by mbiebl (subscriber, #41876) [Link]

The inhibitor mechanism is one way or units specifying an explicit timeout via TimeoutStopSec

https://www.freedesktop.org/software/systemd/man/systemd....


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds