]>
Commit | Line | Data |
---|---|---|
5eef597e MP |
1 | <?xml version="1.0"?> |
2 | <!--*-nxml-*--> | |
bb4f798a MB |
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+ --> | |
81c58355 | 6 | <refentry id="systemd-hibernate-resume@.service" conditional='ENABLE_HIBERNATE'> |
5eef597e | 7 | |
e735f4d4 MP |
8 | <refentryinfo> |
9 | <title>systemd-hibernate-resume@.service</title> | |
10 | <productname>systemd</productname> | |
e735f4d4 | 11 | </refentryinfo> |
5eef597e | 12 | |
e735f4d4 MP |
13 | <refmeta> |
14 | <refentrytitle>systemd-hibernate-resume@.service</refentrytitle> | |
15 | <manvolnum>8</manvolnum> | |
16 | </refmeta> | |
5eef597e | 17 | |
e735f4d4 MP |
18 | <refnamediv> |
19 | <refname>systemd-hibernate-resume@.service</refname> | |
20 | <refname>systemd-hibernate-resume</refname> | |
21 | <refpurpose>Resume from hibernation</refpurpose> | |
22 | </refnamediv> | |
5eef597e | 23 | |
e735f4d4 MP |
24 | <refsynopsisdiv> |
25 | <para><filename>systemd-hibernate-resume@.service</filename></para> | |
26 | <para><filename>/usr/lib/systemd/systemd-hibernate-resume</filename></para> | |
27 | </refsynopsisdiv> | |
5eef597e | 28 | |
e735f4d4 MP |
29 | <refsect1> |
30 | <title>Description</title> | |
5eef597e | 31 | |
e735f4d4 MP |
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> | |
5eef597e | 35 | |
e735f4d4 MP |
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> | |
5eef597e | 41 | |
e735f4d4 MP |
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> | |
5eef597e | 47 | |
e735f4d4 MP |
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> | |
5eef597e MP |
55 | |
56 | </refentry> |