diff options
Diffstat (limited to 'upstream/debian-unstable/man8/systemd-suspend.service.8')
-rw-r--r-- | upstream/debian-unstable/man8/systemd-suspend.service.8 | 31 |
1 files changed, 20 insertions, 11 deletions
diff --git a/upstream/debian-unstable/man8/systemd-suspend.service.8 b/upstream/debian-unstable/man8/systemd-suspend.service.8 index 1e7b7069..f431b34b 100644 --- a/upstream/debian-unstable/man8/systemd-suspend.service.8 +++ b/upstream/debian-unstable/man8/systemd-suspend.service.8 @@ -1,5 +1,5 @@ '\" t -.TH "SYSTEMD\-SUSPEND\&.SERVICE" "8" "" "systemd 255" "systemd-suspend.service" +.TH "SYSTEMD\-SUSPEND\&.SERVICE" "8" "" "systemd 256~rc3" "systemd-suspend.service" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -23,15 +23,21 @@ systemd-suspend.service, systemd-hibernate.service, systemd-hybrid-sleep.service, systemd-suspend-then-hibernate.service, systemd-sleep \- System sleep state logic .SH "SYNOPSIS" .PP +.RS 4 systemd\-suspend\&.service -.PP +.RE +.RS 4 systemd\-hibernate\&.service -.PP +.RE +.RS 4 systemd\-hybrid\-sleep\&.service -.PP +.RE +.RS 4 systemd\-suspend\-then\-hibernate\&.service -.PP +.RE +.RS 4 /usr/lib/systemd/system\-sleep +.RE .SH "DESCRIPTION" .PP systemd\-suspend\&.service @@ -68,7 +74,9 @@ where the value of the variable will be "hibernate", or "suspend\-after\-failed\-hibernate" in cases where hibernation has failed\&. Immediately after leaving system suspend and/or 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 until all executables have finished\&. +"post"\&. All executables in this directory are executed in parallel, and execution of the action is not continued until all executables have finished\&. Note that +user\&.slice +will be frozen while the executables are running, so they should not attempt to communicate with any user services expecting a reply\&. .PP Note that scripts or binaries dropped in /usr/lib/systemd/system\-sleep/ @@ -94,6 +102,11 @@ or a sleep\&.conf\&.d file\&. See \fBsystemd-sleep.conf\fR(5)\&. +.PP +Note that by default these services freeze +user\&.slice +while they run\&. This prevents the execution of any process in any of the user sessions while the system is entering into and resuming from sleep\&. Thus, this prevents the hooks in +/usr/lib/systemd/system\-sleep/, or any other process for that matter, from communicating with any user session process during sleep\&. .SH "OPTIONS" .PP \fBsystemd\-sleep\fR @@ -117,11 +130,7 @@ Added in version 203\&. .RE .SH "SEE ALSO" .PP -\fBsystemd-sleep.conf\fR(5), -\fBsystemd\fR(1), -\fBsystemctl\fR(1), -\fBsystemd.special\fR(7), -\fBsystemd-halt.service\fR(8) +\fBsystemd-sleep.conf\fR(5), \fBsystemd\fR(1), \fBsystemctl\fR(1), \fBsystemd.special\fR(7), \fBsystemd-halt.service\fR(8) .SH "NOTES" .IP " 1." 4 Inhibitor interface |