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