diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-06-26 17:50:29 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-06-26 17:50:29 +0200 |
commit | 0127336c01198ef210882207d24257cb3752718b (patch) | |
tree | 7c53c33ff6af3a317941ca7c46f2a91d649237c1 /man/systemd-suspend.service.xml | |
parent | e2b696ee9bffad34daaafc99d3a5d8ee13504288 (diff) | |
download | systemd-0127336c01198ef210882207d24257cb3752718b.tar.gz |
man: document systemd-halt.service and friends
Diffstat (limited to 'man/systemd-suspend.service.xml')
-rw-r--r-- | man/systemd-suspend.service.xml | 26 |
1 files changed, 17 insertions, 9 deletions
diff --git a/man/systemd-suspend.service.xml b/man/systemd-suspend.service.xml index dea778fbec..1ae742bcd8 100644 --- a/man/systemd-suspend.service.xml +++ b/man/systemd-suspend.service.xml @@ -46,7 +46,7 @@ <refname>systemd-suspend.service</refname> <refname>systemd-hibernate.service</refname> <refname>systemd-sleep</refname> - <refpurpose>systemd System Suspend/Hibernate Logic</refpurpose> + <refpurpose>systemd System Sleep State Logic</refpurpose> </refnamediv> <refsynopsisdiv> @@ -74,13 +74,14 @@ and pass two arguments to them. The first argument will be "<literal>pre</literal>", the second either "<literal>suspend</literal>" or - "<literal>hibernate</literal>", depending on the chosen - action. Immediately after leaving system suspend and - hibernation the same executables are run, but the - first argument is now "<literal>post</literal>". All - executables in this directory are executed in - parallel, and execution of the action is not continued - before all executables finished.</para> + "<literal>hibernate</literal>", depending on the + chosen action. Immediately after leaving system + suspend and hibernation the same executables are run, + but the first argument is now + "<literal>post</literal>". All executables in this + directory are executed in parallel, and execution of + the action is not continued before all executables + finished.</para> <para>Note that scripts or binaries dropped in <filename>/usr/lib/systemd/system-sleep/</filename> @@ -89,13 +90,20 @@ of system suspend and resume there are much nicer interfaces available.</para> + <para>Note that + <filename>systemd-suspend.service</filename> and + <filename>systemd-hibernate.service</filename> should + never be executed directly. Instead, trigger system + sleep states with a command such as "<literal>systemctl + suspend</literal>" or suchlike.</para> </refsect1> <refsect1> <title>See Also</title> <para> <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>, - <citerefentry><refentrytitle>systemd.special</refentrytitle><manvolnum>7</manvolnum></citerefentry> + <citerefentry><refentrytitle>systemctl</refentrytitle><manvolnum>1</manvolnum></citerefentry>, + <citerefentry><refentrytitle>systemd.special</refentrytitle><manvolnum>7</manvolnum></citerefentry>, <citerefentry><refentrytitle>systemd-halt.service</refentrytitle><manvolnum>8</manvolnum></citerefentry> </para> </refsect1> |