]>
Commit | Line | Data |
---|---|---|
42483a74 IS |
1 | <?xml version="1.0"?> |
2 | <!--*-nxml-*--> | |
3a54a157 ZJS |
3 | <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" |
4 | "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> | |
db9ecf05 | 5 | <!-- SPDX-License-Identifier: LGPL-2.1-or-later --> |
232bd677 | 6 | <refentry id="systemd-hibernate-resume@.service" conditional='ENABLE_HIBERNATE'> |
42483a74 | 7 | |
798d3a52 ZJS |
8 | <refentryinfo> |
9 | <title>systemd-hibernate-resume@.service</title> | |
10 | <productname>systemd</productname> | |
798d3a52 | 11 | </refentryinfo> |
42483a74 | 12 | |
798d3a52 ZJS |
13 | <refmeta> |
14 | <refentrytitle>systemd-hibernate-resume@.service</refentrytitle> | |
15 | <manvolnum>8</manvolnum> | |
16 | </refmeta> | |
42483a74 | 17 | |
798d3a52 ZJS |
18 | <refnamediv> |
19 | <refname>systemd-hibernate-resume@.service</refname> | |
20 | <refname>systemd-hibernate-resume</refname> | |
21 | <refpurpose>Resume from hibernation</refpurpose> | |
22 | </refnamediv> | |
42483a74 | 23 | |
798d3a52 ZJS |
24 | <refsynopsisdiv> |
25 | <para><filename>systemd-hibernate-resume@.service</filename></para> | |
12b42c76 | 26 | <para><filename>/usr/lib/systemd/systemd-hibernate-resume</filename></para> |
798d3a52 | 27 | </refsynopsisdiv> |
42483a74 | 28 | |
798d3a52 ZJS |
29 | <refsect1> |
30 | <title>Description</title> | |
42483a74 | 31 | |
798d3a52 ZJS |
32 | <para><filename>systemd-hibernate-resume@.service</filename> |
33 | initiates the resume from hibernation. It is instantiated with the | |
34 | device to resume from as the template argument.</para> | |
42483a74 | 35 | |
798d3a52 ZJS |
36 | <para><filename>systemd-hibernate-resume</filename> only supports |
37 | the in-kernel hibernation implementation, known as | |
38 | <ulink url="https://www.kernel.org/doc/Documentation/power/swsusp.txt">swsusp</ulink>. | |
39 | Internally, it works by writing the major:minor of specified | |
40 | device node to <filename>/sys/power/resume</filename>.</para> | |
42483a74 | 41 | |
798d3a52 ZJS |
42 | <para>Failing to initiate a resume is not an error condition. It |
43 | may mean that there was no resume image (e. g. if the system has | |
44 | been simply powered off and not hibernated). In such case, the | |
45 | boot is ordinarily continued.</para> | |
46 | </refsect1> | |
42483a74 | 47 | |
798d3a52 ZJS |
48 | <refsect1> |
49 | <title>See Also</title> | |
50 | <para> | |
51 | <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>, | |
52 | <citerefentry><refentrytitle>systemd-hibernate-resume-generator</refentrytitle><manvolnum>8</manvolnum></citerefentry> | |
53 | </para> | |
54 | </refsect1> | |
42483a74 IS |
55 | |
56 | </refentry> |