X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsystemd-suspend.service.xml;h=604aab6f6b54d3116a14a7bfc7b171f0f8c7f7fb;hb=0bc62352805b98cebe5debb12a5d45adfc0c66d1;hp=dea778fbec661afa5e074de6c157f11287e65bf8;hpb=e2b696ee9bffad34daaafc99d3a5d8ee13504288;p=elogind.git diff --git a/man/systemd-suspend.service.xml b/man/systemd-suspend.service.xml index dea778fbe..604aab6f6 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 @@ -64,7 +64,7 @@ for the actual system suspend. Similar, systemd-hibernate.service is pulled in by hibernate.target to - executed the actual hibernation. + execute the actual hibernation. Immediately before entering system suspend and hibernation @@ -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