From 42483a747489ff46aed3588b78bf4b9480dbeaf7 Mon Sep 17 00:00:00 2001 From: Ivan Shapovalov Date: Wed, 27 Aug 2014 00:17:44 +0400 Subject: hibernate-resume: add a tool to write a device node's major:minor to /sys/power/resume. This can be used to initiate a resume from hibernation by path to a swap device containing the hibernation image. The respective templated unit is also added. It is instantiated using path to the desired resume device. --- man/systemd-hibernate-resume@.service.xml | 81 +++++++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 man/systemd-hibernate-resume@.service.xml (limited to 'man/systemd-hibernate-resume@.service.xml') diff --git a/man/systemd-hibernate-resume@.service.xml b/man/systemd-hibernate-resume@.service.xml new file mode 100644 index 0000000000..9b188b0d96 --- /dev/null +++ b/man/systemd-hibernate-resume@.service.xml @@ -0,0 +1,81 @@ + + + + + + + + systemd-hibernate-resume@.service + systemd + + + + Developer + Ivan + Shapovalov + intelfx100@gmail.com + + + + + + systemd-hibernate-resume@.service + 8 + + + + systemd-hibernate-resume@.service + systemd-hibernate-resume + Resume from hibernation + + + + systemd-hibernate-resume@.service + /usr/lib/systemd/systemd-hibernate-resume + + + + Description + + systemd-hibernate-resume@.service is a + service that initiates hibernation resume from a device + containing the resume image. It is instantiated for each + device that is configured for resuming from. + + systemd-hibernate-resume only supports + the in-kernel hibernation implementation, known as swsusp. + Internally, it works by writing the major:minor of specified + device node to /sys/power/resume. + + 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. + + + + See Also + + systemd1, + systemd-hibernate-resume-generator8 + + + + -- cgit v1.2.3-54-g00ecf