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