man: clarify interface for suspend/resume integration (#5220)
authorMartin Pitt <martinpitt@users.noreply.github.com>
Fri, 3 Feb 2017 17:11:37 +0000 (18:11 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 3 Feb 2017 17:11:37 +0000 (12:11 -0500)
Fixes #4916.

man/systemd-suspend.service.xml

index a8beb86..c7733f2 100644 (file)
     <para>Note that scripts or binaries dropped in
     <filename>/usr/lib/systemd/system-sleep/</filename> are intended
     for local use only and should be considered hacks. If applications
-    want to be notified of system suspend/hibernation and resume,
-    there are much nicer interfaces available.</para>
+    want to react to system suspend/hibernation and resume,
+    they should rather use the <ulink
+    url="http://www.freedesktop.org/wiki/Software/systemd/inhibit">Inhibitor
+    interface</ulink>.</para>
 
     <para>Note that
     <filename>systemd-suspend.service</filename>,