X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsystemd-suspend.service.xml;h=d3e08a8f1dacdf0df6df349e49405c6dc3ffb2d9;hb=1ca6783f5ea3755bd83e723f529c2eda512c7fed;hp=dea778fbec661afa5e074de6c157f11287e65bf8;hpb=e2b696ee9bffad34daaafc99d3a5d8ee13504288;p=elogind.git
diff --git a/man/systemd-suspend.service.xml b/man/systemd-suspend.service.xml
index dea778fbe..d3e08a8f1 100644
--- a/man/systemd-suspend.service.xml
+++ b/man/systemd-suspend.service.xml
@@ -46,7 +46,7 @@
systemd-suspend.service
systemd-hibernate.service
systemd-sleep
- systemd System Suspend/Hibernate Logic
+ System sleep state logic
@@ -74,13 +74,14 @@
and pass two arguments to them. The first argument
will be "pre", the second either
"suspend" or
- "hibernate", depending on the chosen
- action. Immediately after leaving system suspend and
- hibernation the same executables are run, but the
- first argument is now "post". All
- executables in this directory are executed in
- parallel, and execution of the action is not continued
- before all executables finished.
+ "hibernate", depending on the
+ chosen action. Immediately after leaving system
+ suspend and hibernation the same executables are run,
+ but the first argument is now
+ "post". All executables in this
+ directory are executed in parallel, and execution of
+ the action is not continued before all executables
+ finished.
Note that scripts or binaries dropped in
/usr/lib/systemd/system-sleep/
@@ -89,13 +90,20 @@
of system suspend and resume there are much nicer
interfaces available.
+ Note that
+ systemd-suspend.service and
+ systemd-hibernate.service should
+ never be executed directly. Instead, trigger system
+ sleep states with a command such as "systemctl
+ suspend" or suchlike.
See Also
systemd1,
- systemd.special7
+ systemctl1,
+ systemd.special7,
systemd-halt.service8