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