X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fsystemd-suspend.service.xml;h=1ae742bcd80bc65c005c0b58fa2618f7d343b2ae;hp=dea778fbec661afa5e074de6c157f11287e65bf8;hb=b4efdf97203ddf781c17f77be84cc61516a077d2;hpb=e2b696ee9bffad34daaafc99d3a5d8ee13504288 diff --git a/man/systemd-suspend.service.xml b/man/systemd-suspend.service.xml index dea778fbe..1ae742bcd 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 + systemd 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