]> git.ipfire.org Git - thirdparty/systemd.git/blame - man/systemd-hibernate-resume@.service.xml
verify: use manager_load_startable_unit_or_warn() to load units for verification
[thirdparty/systemd.git] / man / systemd-hibernate-resume@.service.xml
CommitLineData
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
ZJS
5 SPDX-License-Identifier: LGPL-2.1+
6
42483a74
IS
7 This file is part of systemd.
8
9 Copyright 2014 Ivan Shapovalov
10
11 systemd is free software; you can redistribute it and/or modify it
12 under the terms of the GNU Lesser General Public License as published by
13 the Free Software Foundation; either version 2.1 of the License, or
14 (at your option) any later version.
15
16 systemd is distributed in the hope that it will be useful, but
17 WITHOUT ANY WARRANTY; without even the implied warranty of
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19 Lesser General Public License for more details.
20
21 You should have received a copy of the GNU Lesser General Public License
22 along with systemd; If not, see <http://www.gnu.org/licenses/>.
23-->
232bd677 24<refentry id="systemd-hibernate-resume@.service" conditional='ENABLE_HIBERNATE'>
42483a74 25
798d3a52
ZJS
26 <refentryinfo>
27 <title>systemd-hibernate-resume@.service</title>
28 <productname>systemd</productname>
42483a74 29
798d3a52
ZJS
30 <authorgroup>
31 <author>
32 <contrib>Developer</contrib>
33 <firstname>Ivan</firstname>
34 <surname>Shapovalov</surname>
35 <email>intelfx100@gmail.com</email>
36 </author>
37 </authorgroup>
38 </refentryinfo>
42483a74 39
798d3a52
ZJS
40 <refmeta>
41 <refentrytitle>systemd-hibernate-resume@.service</refentrytitle>
42 <manvolnum>8</manvolnum>
43 </refmeta>
42483a74 44
798d3a52
ZJS
45 <refnamediv>
46 <refname>systemd-hibernate-resume@.service</refname>
47 <refname>systemd-hibernate-resume</refname>
48 <refpurpose>Resume from hibernation</refpurpose>
49 </refnamediv>
42483a74 50
798d3a52
ZJS
51 <refsynopsisdiv>
52 <para><filename>systemd-hibernate-resume@.service</filename></para>
12b42c76 53 <para><filename>/usr/lib/systemd/systemd-hibernate-resume</filename></para>
798d3a52 54 </refsynopsisdiv>
42483a74 55
798d3a52
ZJS
56 <refsect1>
57 <title>Description</title>
42483a74 58
798d3a52
ZJS
59 <para><filename>systemd-hibernate-resume@.service</filename>
60 initiates the resume from hibernation. It is instantiated with the
61 device to resume from as the template argument.</para>
42483a74 62
798d3a52
ZJS
63 <para><filename>systemd-hibernate-resume</filename> only supports
64 the in-kernel hibernation implementation, known as
65 <ulink url="https://www.kernel.org/doc/Documentation/power/swsusp.txt">swsusp</ulink>.
66 Internally, it works by writing the major:minor of specified
67 device node to <filename>/sys/power/resume</filename>.</para>
42483a74 68
798d3a52
ZJS
69 <para>Failing to initiate a resume is not an error condition. It
70 may mean that there was no resume image (e. g. if the system has
71 been simply powered off and not hibernated). In such case, the
72 boot is ordinarily continued.</para>
73 </refsect1>
42483a74 74
798d3a52
ZJS
75 <refsect1>
76 <title>See Also</title>
77 <para>
78 <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
79 <citerefentry><refentrytitle>systemd-hibernate-resume-generator</refentrytitle><manvolnum>8</manvolnum></citerefentry>
80 </para>
81 </refsect1>
42483a74
IS
82
83</refentry>