chiark / gitweb /
man: explain a bit more detailed what happens on suspend
authorLennart Poettering <lennart@poettering.net>
Tue, 30 Oct 2012 23:19:34 +0000 (00:19 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 30 Oct 2012 23:48:20 +0000 (00:48 +0100)
man/systemctl.xml
man/systemd-suspend.service.xml

index 786c2bdfcfa40df7cf264d660d00a830dbc364aa..31f3b1a90986c48a71d884a805faf66ad380359d 100644 (file)
                         <varlistentry>
                                 <term><command>suspend</command></term>
 
                         <varlistentry>
                                 <term><command>suspend</command></term>
 
-                                <listitem><para>Suspend the system.</para></listitem>
+                                <listitem><para>Suspend the
+                                system. This will trigger activation
+                                of the special
+                                <filename>suspend.target</filename>
+                                target.</para></listitem>
                         </varlistentry>
                         <varlistentry>
                                 <term><command>hibernate</command></term>
 
                         </varlistentry>
                         <varlistentry>
                                 <term><command>hibernate</command></term>
 
-                                <listitem><para>Hibernate the system.</para></listitem>
+                                <listitem><para>Hibernate the
+                                system. This will trigger activation
+                                of the special
+                                <filename>hibernate.target</filename>
+                                target.</para></listitem>
                         </varlistentry>
                         <varlistentry>
                                 <term><command>hybrid-sleep</command></term>
 
                         </varlistentry>
                         <varlistentry>
                                 <term><command>hybrid-sleep</command></term>
 
-                                <listitem><para>Hibernate and suspend the system.</para></listitem>
+                                <listitem><para>Hibernate and suspend
+                                the system. This will trigger
+                                activation of the special
+                                <filename>hybrid-sleep.target</filename>
+                                target.</para></listitem>
                         </varlistentry>
                         <varlistentry>
                                 <term><command>switch-root [ROOT] [INIT]</command></term>
                         </varlistentry>
                         <varlistentry>
                                 <term><command>switch-root [ROOT] [INIT]</command></term>
index b9464c882612e68512d30b238cff69b816652e37..9b8bad4791cb574507f77c674e35a41e4663eb00 100644 (file)
                 system sleep states with a command such as
                 "<literal>systemctl suspend</literal>" or
                 similar.</para>
                 system sleep states with a command such as
                 "<literal>systemctl suspend</literal>" or
                 similar.</para>
+
+                <para>Internally, this service will echo a string like
+                <literal>mem</literal> into
+                <filename>/sys/power/state</filename>, to trigger the
+                actual system suspend.</para>
         </refsect1>
 
         <refsect1>
         </refsect1>
 
         <refsect1>