]> git.ipfire.org Git - thirdparty/systemd.git/blob - man/systemd-hibernate-resume.service.xml
Merge pull request #28146 from keszybz/ansi-seq-skip
[thirdparty/systemd.git] / man / systemd-hibernate-resume.service.xml
1 <?xml version="1.0"?>
2 <!--*-nxml-*-->
3 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
4 "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
5 <!-- SPDX-License-Identifier: LGPL-2.1-or-later -->
6 <refentry id="systemd-hibernate-resume.service" conditional='ENABLE_HIBERNATE'>
7
8 <refentryinfo>
9 <title>systemd-hibernate-resume.service</title>
10 <productname>systemd</productname>
11 </refentryinfo>
12
13 <refmeta>
14 <refentrytitle>systemd-hibernate-resume.service</refentrytitle>
15 <manvolnum>8</manvolnum>
16 </refmeta>
17
18 <refnamediv>
19 <refname>systemd-hibernate-resume.service</refname>
20 <refname>systemd-hibernate-resume</refname>
21 <refpurpose>Resume from hibernation</refpurpose>
22 </refnamediv>
23
24 <refsynopsisdiv>
25 <para><filename>systemd-hibernate-resume.service</filename></para>
26 <para><filename>/usr/lib/systemd/systemd-hibernate-resume</filename></para>
27 </refsynopsisdiv>
28
29 <refsect1>
30 <title>Description</title>
31
32 <para><filename>systemd-hibernate-resume.service</filename> initiates the resume from hibernation.</para>
33
34 <para><filename>systemd-hibernate-resume</filename> only supports the in-kernel hibernation
35 implementation, see <ulink url="https://docs.kernel.org/power/swsusp.html">Swap suspend</ulink>.
36 Internally, it works by writing the major:minor of specified device node to
37 <filename>/sys/power/resume</filename>, along with the offset in memory pages
38 (<filename>/sys/power/resume_offset</filename>) if supported.</para>
39
40 <para>Failing to initiate a resume is not an error condition. It may mean that there was
41 no resume image (e. g. if the system has been simply powered off and not hibernated).
42 In such cases, the boot is ordinarily continued.</para>
43 </refsect1>
44
45 <refsect1>
46 <title>See Also</title>
47 <para>
48 <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
49 <citerefentry><refentrytitle>systemd-hibernate-resume-generator</refentrytitle><manvolnum>8</manvolnum></citerefentry>
50 </para>
51 </refsect1>
52
53 </refentry>