systemd/man/systemd-hibernate-resume@.service.html
2015-02-17 11:22:16 +01:00

35 lines
2.8 KiB
HTML

<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>systemd-hibernate-resume@.service</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><style>
a.headerlink {
color: #c60f0f;
font-size: 0.8em;
padding: 0 4px 0 4px;
text-decoration: none;
visibility: hidden;
}
a.headerlink:hover {
background-color: #c60f0f;
color: white;
}
h1:hover > a.headerlink, h2:hover > a.headerlink, h3:hover > a.headerlink, dt:hover > a.headerlink {
visibility: visible;
}
</style><a href="index.html">Index </a>·
<a href="systemd.directives.html">Directives </a>·
<a href="../python-systemd/index.html">Python </a>·
<a href="../libudev/index.html">libudev </a>·
<a href="../libudev/index.html">gudev </a><span style="float:right">systemd 219</span><hr><div class="refentry"><a name="systemd-hibernate-resume@.service"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>systemd-hibernate-resume@.service, systemd-hibernate-resume — Resume from hibernation</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><p><code class="filename">systemd-hibernate-resume@.service</code></p><p><code class="filename">/usr/lib/systemd/systemd-hibernate-resume</code></p></div><div class="refsect1"><a name="idm140707391424960"></a><h2 id="Description">Description<a class="headerlink" title="Permalink to this headline" href="#Description"></a></h2><p><code class="filename">systemd-hibernate-resume@.service</code>
initiates the resume from hibernation. It is instantiated with the
device to resume from as the template argument.</p><p><code class="filename">systemd-hibernate-resume</code> only supports
the in-kernel hibernation implementation, known as
<a class="ulink" href="https://www.kernel.org/doc/Documentation/power/swsusp.txt" target="_top">swsusp</a>.
Internally, it works by writing the major:minor of specified
device node to <code class="filename">/sys/power/resume</code>.</p><p>Failing to initiate a resume is not an error condition. It
may mean that there was no resume image (e. g. if the system has
been simply powered off and not hibernated). In such case, the
boot is ordinarily continued.</p></div><div class="refsect1"><a name="idm140707391420128"></a><h2 id="See Also">See Also<a class="headerlink" title="Permalink to this headline" href="#See%20Also"></a></h2><p>
<a href="systemd.html"><span class="citerefentry"><span class="refentrytitle">systemd</span>(1)</span></a>,
<a href="systemd-hibernate-resume-generator.html"><span class="citerefentry"><span class="refentrytitle">systemd-hibernate-resume-generator</span>(8)</span></a>
</p></div></div></body></html>