1<?xml version="1.0"?> 2<!--*-nxml-*--> 3<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 4 "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> 5<!-- SPDX-License-Identifier: LGPL-2.1-or-later --> 6<refentry id="systemd-hibernate-resume@.service" conditional='ENABLE_HIBERNATE'> 7 8 <refentryinfo> 9 <title>systemd-hibernate-resume@.service</title> 10 <productname>systemd</productname> 11 </refentryinfo> 12 13 <refmeta> 14 <refentrytitle>systemd-hibernate-resume@.service</refentrytitle> 15 <manvolnum>8</manvolnum> 16 </refmeta> 17 18 <refnamediv> 19 <refname>systemd-hibernate-resume@.service</refname> 20 <refname>systemd-hibernate-resume</refname> 21 <refpurpose>Resume from hibernation</refpurpose> 22 </refnamediv> 23 24 <refsynopsisdiv> 25 <para><filename>systemd-hibernate-resume@.service</filename></para> 26 <para><filename>/usr/lib/systemd/systemd-hibernate-resume</filename></para> 27 </refsynopsisdiv> 28 29 <refsect1> 30 <title>Description</title> 31 32 <para><filename>systemd-hibernate-resume@.service</filename> 33 initiates the resume from hibernation. It is instantiated with the 34 device to resume from as the template argument.</para> 35 36 <para><filename>systemd-hibernate-resume</filename> only supports 37 the in-kernel hibernation implementation, known as 38 <ulink url="https://www.kernel.org/doc/Documentation/power/swsusp.txt">swsusp</ulink>. 39 Internally, it works by writing the major:minor of specified 40 device node to <filename>/sys/power/resume</filename>.</para> 41 42 <para>Failing to initiate a resume is not an error condition. It 43 may mean that there was no resume image (e. g. if the system has 44 been simply powered off and not hibernated). In such case, the 45 boot is ordinarily continued.</para> 46 </refsect1> 47 48 <refsect1> 49 <title>See Also</title> 50 <para> 51 <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>, 52 <citerefentry><refentrytitle>systemd-hibernate-resume-generator</refentrytitle><manvolnum>8</manvolnum></citerefentry> 53 </para> 54 </refsect1> 55 56</refentry> 57