]>
Commit | Line | Data |
---|---|---|
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 | |
42483a74 | 10 | --> |
232bd677 | 11 | <refentry id="systemd-hibernate-resume@.service" conditional='ENABLE_HIBERNATE'> |
42483a74 | 12 | |
798d3a52 ZJS |
13 | <refentryinfo> |
14 | <title>systemd-hibernate-resume@.service</title> | |
15 | <productname>systemd</productname> | |
42483a74 | 16 | |
798d3a52 ZJS |
17 | <authorgroup> |
18 | <author> | |
19 | <contrib>Developer</contrib> | |
20 | <firstname>Ivan</firstname> | |
21 | <surname>Shapovalov</surname> | |
22 | <email>intelfx100@gmail.com</email> | |
23 | </author> | |
24 | </authorgroup> | |
25 | </refentryinfo> | |
42483a74 | 26 | |
798d3a52 ZJS |
27 | <refmeta> |
28 | <refentrytitle>systemd-hibernate-resume@.service</refentrytitle> | |
29 | <manvolnum>8</manvolnum> | |
30 | </refmeta> | |
42483a74 | 31 | |
798d3a52 ZJS |
32 | <refnamediv> |
33 | <refname>systemd-hibernate-resume@.service</refname> | |
34 | <refname>systemd-hibernate-resume</refname> | |
35 | <refpurpose>Resume from hibernation</refpurpose> | |
36 | </refnamediv> | |
42483a74 | 37 | |
798d3a52 ZJS |
38 | <refsynopsisdiv> |
39 | <para><filename>systemd-hibernate-resume@.service</filename></para> | |
12b42c76 | 40 | <para><filename>/usr/lib/systemd/systemd-hibernate-resume</filename></para> |
798d3a52 | 41 | </refsynopsisdiv> |
42483a74 | 42 | |
798d3a52 ZJS |
43 | <refsect1> |
44 | <title>Description</title> | |
42483a74 | 45 | |
798d3a52 ZJS |
46 | <para><filename>systemd-hibernate-resume@.service</filename> |
47 | initiates the resume from hibernation. It is instantiated with the | |
48 | device to resume from as the template argument.</para> | |
42483a74 | 49 | |
798d3a52 ZJS |
50 | <para><filename>systemd-hibernate-resume</filename> only supports |
51 | the in-kernel hibernation implementation, known as | |
52 | <ulink url="https://www.kernel.org/doc/Documentation/power/swsusp.txt">swsusp</ulink>. | |
53 | Internally, it works by writing the major:minor of specified | |
54 | device node to <filename>/sys/power/resume</filename>.</para> | |
42483a74 | 55 | |
798d3a52 ZJS |
56 | <para>Failing to initiate a resume is not an error condition. It |
57 | may mean that there was no resume image (e. g. if the system has | |
58 | been simply powered off and not hibernated). In such case, the | |
59 | boot is ordinarily continued.</para> | |
60 | </refsect1> | |
42483a74 | 61 | |
798d3a52 ZJS |
62 | <refsect1> |
63 | <title>See Also</title> | |
64 | <para> | |
65 | <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>, | |
66 | <citerefentry><refentrytitle>systemd-hibernate-resume-generator</refentrytitle><manvolnum>8</manvolnum></citerefentry> | |
67 | </para> | |
68 | </refsect1> | |
42483a74 IS |
69 | |
70 | </refentry> |