man: clarify interface for suspend/resume integration (#5220)

Fixes #4916.
This commit is contained in:
Martin Pitt 2017-02-03 18:11:37 +01:00 committed by Zbigniew Jędrzejewski-Szmek
parent d201d90838
commit 63927b9f4c

View File

@ -89,8 +89,10 @@
<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>,