summaryrefslogtreecommitdiff
path: root/man/systemctl.xml
diff options
context:
space:
mode:
authorJonas DOREL <jonas.dorel@laposte.net>2018-09-28 15:56:48 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-09-28 15:56:48 +0200
commit6cc2b882751bdc1f70520ffd93830357b318a9e5 (patch)
tree70d9ba83a1caf43915070b98d601d09b8bdbaea8 /man/systemctl.xml
parent83043e8dc82a6a4a32fdf60d4b196b3c888477d3 (diff)
downloadsystemd-6cc2b882751bdc1f70520ffd93830357b318a9e5.tar.gz
systemd-6cc2b882751bdc1f70520ffd93830357b318a9e5.tar.bz2
systemd-6cc2b882751bdc1f70520ffd93830357b318a9e5.zip
man: add systemctl suspend-then-hibernate (#10194)
This commit tries to document the systemctl suspend-then-hibernate documentation in the systemctl(1) manpage. Fixes #10192.
Diffstat (limited to 'man/systemctl.xml')
-rw-r--r--man/systemctl.xml15
1 files changed, 13 insertions, 2 deletions
diff --git a/man/systemctl.xml b/man/systemctl.xml
index 2bf20142c0..b16efb8701 100644
--- a/man/systemctl.xml
+++ b/man/systemctl.xml
@@ -330,8 +330,8 @@
<listitem>
<para>Just print what would be done. Currently supported by verbs
<command>halt</command>, <command>poweroff</command>, <command>reboot</command>,
- <command>kexec</command>, <command>suspend</command>,
- <command>hibernate</command>, <command>hybrid-sleep</command>,
+ <command>kexec</command>, <command>suspend</command>, <command>hibernate</command>,
+ <command>hybrid-sleep</command>, <command>suspend-then-hibernate</command>,
<command>default</command>, <command>rescue</command>,
<command>emergency</command>, and <command>exit</command>.</para>
</listitem>
@@ -1884,6 +1884,17 @@ Jan 12 10:46:45 example.com bluetoothd[8900]: gatt-time-server: Input/output err
sleep operation is successfully enqueued. It will not wait for the sleep/wake-up cycle to complete.</para>
</listitem>
</varlistentry>
+
+ <varlistentry>
+ <term><command>suspend-then-hibernate</command></term>
+
+ <listitem>
+ <para>Suspend the system and hibernate it after the delay specified in <filename>systemd-sleep.conf</filename>.
+ This will trigger activation of the special target unit <filename>suspend-then-hibernate.target</filename>.
+ This command is asynchronous, and will return after the hybrid sleep operation is successfully enqueued.
+ It will not wait for the sleep/wake-up or hibernate/thaw cycle to complete.</para>
+ </listitem>
+ </varlistentry>
</variablelist>
</refsect2>