]> git.ipfire.org Git - thirdparty/systemd.git/blob - man/systemd-hibernate-resume@.service.xml
man: standarize on one-line license header
[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 <!-- SPDX-License-Identifier: LGPL-2.1+ -->
5 <refentry id="systemd-hibernate-resume@.service" conditional='ENABLE_HIBERNATE'>
6
7 <refentryinfo>
8 <title>systemd-hibernate-resume@.service</title>
9 <productname>systemd</productname>
10 </refentryinfo>
11
12 <refmeta>
13 <refentrytitle>systemd-hibernate-resume@.service</refentrytitle>
14 <manvolnum>8</manvolnum>
15 </refmeta>
16
17 <refnamediv>
18 <refname>systemd-hibernate-resume@.service</refname>
19 <refname>systemd-hibernate-resume</refname>
20 <refpurpose>Resume from hibernation</refpurpose>
21 </refnamediv>
22
23 <refsynopsisdiv>
24 <para><filename>systemd-hibernate-resume@.service</filename></para>
25 <para><filename>/usr/lib/systemd/systemd-hibernate-resume</filename></para>
26 </refsynopsisdiv>
27
28 <refsect1>
29 <title>Description</title>
30
31 <para><filename>systemd-hibernate-resume@.service</filename>
32 initiates the resume from hibernation. It is instantiated with the
33 device to resume from as the template argument.</para>
34
35 <para><filename>systemd-hibernate-resume</filename> only supports
36 the in-kernel hibernation implementation, known as
37 <ulink url="https://www.kernel.org/doc/Documentation/power/swsusp.txt">swsusp</ulink>.
38 Internally, it works by writing the major:minor of specified
39 device node to <filename>/sys/power/resume</filename>.</para>
40
41 <para>Failing to initiate a resume is not an error condition. It
42 may mean that there was no resume image (e. g. if the system has
43 been simply powered off and not hibernated). In such case, the
44 boot is ordinarily continued.</para>
45 </refsect1>
46
47 <refsect1>
48 <title>See Also</title>
49 <para>
50 <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
51 <citerefentry><refentrytitle>systemd-hibernate-resume-generator</refentrytitle><manvolnum>8</manvolnum></citerefentry>
52 </para>
53 </refsect1>
54
55 </refentry>