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