mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
docs: properly document inhibitor locks
I still am annoyed that this wasn't documented properly when the inhibitor locks where modified, even though raised multiple times in PR reviews. Follow-up for: #30307 See: #34091
This commit is contained in:
@@ -42,8 +42,8 @@ If such a lock is taken the operation will fail (but still may be overridden if
|
||||
The InhibitDelayMaxSec= setting in [logind.conf(5)](http://www.freedesktop.org/software/systemd/man/logind.conf.html) controls the timeout for this. This is intended to be used by applications which need a synchronous way to execute actions before system suspend but shall not be allowed to block suspend indefinitely.
|
||||
This mode is only available for _sleep_ and _shutdown_ locks.
|
||||
|
||||
3. _block-weak_ that works as its non-weak counterpart, but that in addition may be ignored
|
||||
automatically and silently under certain circumstances, unlike the former which is always respected.
|
||||
3. _block-weak_ is identical to _block_, but has no effect on operations
|
||||
requested by root or by the user owning the inhibitor lock.
|
||||
|
||||
Inhibitor locks are taken via the Inhibit() D-Bus call on the logind Manager object:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user