]> git.ipfire.org Git - thirdparty/systemd.git/blob - man/systemd-hibernate-resume@.service.xml
0db49e32ee46ee7e56115bdb067a282fdafa5455
[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.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
4 <!--
5 SPDX-License-Identifier: LGPL-2.1+
6 -->
7 <refentry id="systemd-hibernate-resume@.service" conditional='ENABLE_HIBERNATE'>
8
9 <refentryinfo>
10 <title>systemd-hibernate-resume@.service</title>
11 <productname>systemd</productname>
12 </refentryinfo>
13
14 <refmeta>
15 <refentrytitle>systemd-hibernate-resume@.service</refentrytitle>
16 <manvolnum>8</manvolnum>
17 </refmeta>
18
19 <refnamediv>
20 <refname>systemd-hibernate-resume@.service</refname>
21 <refname>systemd-hibernate-resume</refname>
22 <refpurpose>Resume from hibernation</refpurpose>
23 </refnamediv>
24
25 <refsynopsisdiv>
26 <para><filename>systemd-hibernate-resume@.service</filename></para>
27 <para><filename>/usr/lib/systemd/systemd-hibernate-resume</filename></para>
28 </refsynopsisdiv>
29
30 <refsect1>
31 <title>Description</title>
32
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>
36
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>
42
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>
48
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>
56
57 </refentry>