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=375c25576d5c798a8d672f4a15b7d434a237a45e;hp=4a4ed5cbdb20e3389100a5509f94da9a19a4a843;hb=92ff080be100aff15f292e2631921131c610afe7;hpb=19adb8a3204fefd91411b5f0f350c8bc6bcf75fe diff --git a/man/systemd-suspend.service.xml b/man/systemd-suspend.service.xml index 4a4ed5cbd..375c25576 100644 --- a/man/systemd-suspend.service.xml +++ b/man/systemd-suspend.service.xml @@ -22,7 +22,8 @@ along with systemd; If not, see . --> - + systemd-suspend.service @@ -55,7 +56,7 @@ systemd-suspend.service systemd-hibernate.service systemd-hybrid-sleep.service - /usr/lib/systemd/systemd-sleep + /usr/lib/systemd/system-sleep @@ -80,14 +81,14 @@ executables in /usr/lib/systemd/system-sleep/ and pass two arguments to them. The first argument - will be "pre", the second either - "suspend", - "hibernate", or - "hybrid-sleep" depending on the + will be pre, the second either + suspend, + hibernate, or + hybrid-sleep depending on the chosen action. Immediately after leaving system suspend and/or hibernation the same executables are run, but the first argument is now - "post". All executables in this + post. All executables in this directory are executed in parallel, and execution of the action is not continued until all executables have finished. @@ -96,7 +97,7 @@ /usr/lib/systemd/system-sleep/ 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 + of system suspend/hibernation and resume, there are much nicer interfaces available. Note that @@ -105,15 +106,16 @@ systemd-hybrid-sleep.service should never be executed directly. Instead, trigger system sleep states with a command such as - "systemctl suspend" or + systemctl suspend or similar. Internally, this service will echo a string like - "mem" into + mem into /sys/power/state, to trigger the actual system suspend. What exactly is written where can be configured in the [Sleep] - section of /etc/systemd/sleep.conf. + section of /etc/systemd/sleep.conf or a + sleep.conf.d file. See systemd-sleep.conf5. @@ -125,19 +127,9 @@ following commands: - - - + + - Print a short help - text and exit. - - - - - Print the systemd version - identifier and exit. -