| 1 |
'\" t |
| 2 |
.TH "SYSTEMD\-HIBERNATE\-RESUME\&.SERVICE" "8" "" "systemd 261~rc3" "systemd-hibernate-resume.service" |
| 3 |
.\" ----------------------------------------------------------------- |
| 4 |
.\" * Define some portability stuff |
| 5 |
.\" ----------------------------------------------------------------- |
| 6 |
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 7 |
.\" http://bugs.debian.org/507673 |
| 8 |
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html |
| 9 |
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 10 |
.ie \n(.g .ds Aq \(aq |
| 11 |
.el .ds Aq ' |
| 12 |
.\" ----------------------------------------------------------------- |
| 13 |
.\" * set default formatting |
| 14 |
.\" ----------------------------------------------------------------- |
| 15 |
.\" disable hyphenation |
| 16 |
.nh |
| 17 |
.\" disable justification (adjust text to left margin only) |
| 18 |
.ad l |
| 19 |
.\" ----------------------------------------------------------------- |
| 20 |
.\" * MAIN CONTENT STARTS HERE * |
| 21 |
.\" ----------------------------------------------------------------- |
| 22 |
.SH "NAME" |
| 23 |
systemd-hibernate-resume.service, systemd-hibernate-clear.service, systemd-hibernate-resume \- Resume from hibernation |
| 24 |
.SH "SYNOPSIS" |
| 25 |
.PP |
| 26 |
systemd\-hibernate\-resume\&.service |
| 27 |
.PP |
| 28 |
systemd\-hibernate\-clear\&.service |
| 29 |
.PP |
| 30 |
/usr/lib/systemd/systemd\-hibernate\-resume |
| 31 |
.SH "DESCRIPTION" |
| 32 |
.PP |
| 33 |
systemd\-hibernate\-resume\&.service |
| 34 |
initiates the resume from hibernation\&. |
| 35 |
.PP |
| 36 |
\fBsystemd\-hibernate\-resume\fR |
| 37 |
only supports the in\-kernel hibernation implementation, see |
| 38 |
\m[blue]\fBSwap suspend\fR\m[]\&\s-2\u[1]\d\s+2\&. Internally, it works by writing the major:minor of selected device node to |
| 39 |
/sys/power/resume, along with the offset in memory pages (/sys/power/resume_offset) if supported\&. |
| 40 |
.PP |
| 41 |
The resume device node is either passed directly through arguments, or automatically acquired from kernel command line options and/or |
| 42 |
\fIHibernateLocation\fR |
| 43 |
EFI variable\&. The latter will normally be cleared by |
| 44 |
systemd\-hibernate\-resume\&.service |
| 45 |
on resumption\&. If a stale variable is detected, it would be cleared by |
| 46 |
systemd\-hibernate\-clear\&.service\&. |
| 47 |
.PP |
| 48 |
Failing to initiate a resume is not an error condition\&. It may mean that there was no resume image (e\&. g\&. if the system has been simply powered off and not hibernated)\&. In such cases, the boot is ordinarily continued\&. |
| 49 |
.SH "SEE ALSO" |
| 50 |
.PP |
| 51 |
\fBsystemd\fR(1), \fBsystemd-hibernate-resume-generator\fR(8) |
| 52 |
.SH "NOTES" |
| 53 |
.IP " 1." 4 |
| 54 |
Swap suspend |
| 55 |
.RS 4 |
| 56 |
\%https://docs.kernel.org/power/swsusp.html |
| 57 |
.RE |