1
0
mirror of https://github.com/systemd/systemd.git synced 2025-08-31 09:49:54 +03:00

docs/INHIBITOR_LOCKS: update logind d-bus api link

and fix freedesktop wiki link
This commit is contained in:
Mariano Giménez
2024-02-02 17:57:21 +01:00
committed by hulkoba
parent f9be794ace
commit adf0eb641a

View File

@ -15,7 +15,7 @@ systemd 183 and newer include a logic to inhibit system shutdowns and sleep stat
- A web browser wants to be notified before system hibernation in order to free its cache to minimize the amount of memory that needs to be virtualized. - A web browser wants to be notified before system hibernation in order to free its cache to minimize the amount of memory that needs to be virtualized.
- A screen lock tool wants to bring up the screen lock right before suspend, and delay the suspend until that's complete. - A screen lock tool wants to bring up the screen lock right before suspend, and delay the suspend until that's complete.
Applications which want to make use of the inhibition logic shall take an inhibitor lock via the [logind D-Bus API](http://www.freedesktop.org/wiki/Software/systemd/logind). Applications which want to make use of the inhibition logic shall take an inhibitor lock via the [logind D-Bus API](https://www.freedesktop.org/software/systemd/man/latest/org.freedesktop.login1.html).
Seven distinct inhibitor lock types may be taken, or a combination of them: Seven distinct inhibitor lock types may be taken, or a combination of them: