From 5507480cf44a47bab401a9477ba783ac528bb4e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 28 May 2024 13:04:09 +0200 Subject: [PATCH] man: update links to "Inhibitor Locks" --- man/org.freedesktop.login1.xml | 4 ++-- man/systemd-inhibit.xml | 5 ++--- man/systemd-logind.service.xml | 5 ++--- man/systemd-suspend.service.xml | 6 ++---- 4 files changed, 8 insertions(+), 12 deletions(-) diff --git a/man/org.freedesktop.login1.xml b/man/org.freedesktop.login1.xml index 20936a6936..aacaa1b952 100644 --- a/man/org.freedesktop.login1.xml +++ b/man/org.freedesktop.login1.xml @@ -715,7 +715,7 @@ node /org/freedesktop/login1 { whether the inhibit shall be consider mandatory or whether it should just delay the operation to a certain maximum time. The method returns a file descriptor. The lock is released the moment this file descriptor and all its duplicates are closed. For more information on the inhibition logic see - Inhibitor Locks. + Inhibitor Locks. @@ -739,7 +739,7 @@ node /org/freedesktop/login1 { that should be done shortly before shutdown/sleep, in conjunction with delay inhibitor locks. After completion of this work they should release their inhibition locks in order to not delay the operation any further. For more information see - Inhibitor Locks. The + Inhibitor Locks. The PrepareForShutdownWithMetadata() signal additionally sends a list of key/value pair metadata fields. Currently it sends a type string which defines the type of shutdown. The type can be one of power-off, reboot, diff --git a/man/systemd-inhibit.xml b/man/systemd-inhibit.xml index 87f17be0ed..a6dbb06c36 100644 --- a/man/systemd-inhibit.xml +++ b/man/systemd-inhibit.xml @@ -44,9 +44,8 @@ an optical disc is being recorded, or similar operations that should not be interrupted. - For more information see the Inhibitor - Lock Developer Documentation. + For more information see + Inhibitor Locks. diff --git a/man/systemd-logind.service.xml b/man/systemd-logind.service.xml index e14d2d2ce2..e9d721823f 100644 --- a/man/systemd-logind.service.xml +++ b/man/systemd-logind.service.xml @@ -84,9 +84,8 @@ org.freedesktop.LogControl15 for information about the D-Bus APIs systemd-logind provides. - For more information on the inhibition logic see the Inhibitor - Lock Developer Documentation. + For more information see + Inhibitor Locks. If you are interested in writing a display manager that makes use of logind, please have look at Writing Display diff --git a/man/systemd-suspend.service.xml b/man/systemd-suspend.service.xml index 9fbca6193f..c5833b2315 100644 --- a/man/systemd-suspend.service.xml +++ b/man/systemd-suspend.service.xml @@ -73,10 +73,8 @@ Note that scripts or binaries dropped in /usr/lib/systemd/system-sleep/ are intended for local use only and should be considered hacks. If applications - want to react to system suspend/hibernation and resume, - they should rather use the Inhibitor - interface. + want to react to system suspend/hibernation and resume, they should rather use the + Inhibitor Locks. Note that systemd-suspend.service, systemd-hibernate.service, systemd-hybrid-sleep.service, and