sleep: implement suspend/hibernate as first class targets
This commit is contained in:
@@ -1149,6 +1149,16 @@
|
||||
<option>--user</option> option) and
|
||||
will fail otherwise.</para></listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><command>suspend</command></term>
|
||||
|
||||
<listitem><para>Suspend the system.</para></listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><command>hibernate</command></term>
|
||||
|
||||
<listitem><para>Hibernate the system.</para></listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
|
||||
</refsect1>
|
||||
|
||||
@@ -58,6 +58,7 @@
|
||||
<filename>exit.service</filename>,
|
||||
<filename>final.service</filename>,
|
||||
<filename>graphical.target</filename>,
|
||||
<filename>hibernate.target</filename>,
|
||||
<filename>http-daemon.target</filename>,
|
||||
<filename>halt.target</filename>,
|
||||
<filename>kbrequest.target</filename>,
|
||||
@@ -80,7 +81,9 @@
|
||||
<filename>runlevel5.target</filename>,
|
||||
<filename>shutdown.target</filename>,
|
||||
<filename>sigpwr.target</filename>,
|
||||
<filename>sleep.target</filename>,
|
||||
<filename>sockets.target</filename>,
|
||||
<filename>suspend.target</filename>,
|
||||
<filename>swap.target</filename>,
|
||||
<filename>sysinit.target</filename>,
|
||||
<filename>syslog.service</filename>,
|
||||
@@ -239,6 +242,15 @@
|
||||
during installation.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><filename>hibernate.target</filename></term>
|
||||
<listitem>
|
||||
<para>A special target unit
|
||||
for hibernating the
|
||||
system. This pulls in
|
||||
<filename>sleep.target</filename>.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><filename>http-daemon.target</filename></term>
|
||||
<listitem>
|
||||
@@ -590,6 +602,19 @@
|
||||
power fails.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><filename>sleep.target</filename></term>
|
||||
<listitem>
|
||||
<para>A special target unit
|
||||
that is pulled in by
|
||||
<filename>suspend.target</filename>
|
||||
and
|
||||
<filename>hibernate.target</filename>
|
||||
and may be used to hook units
|
||||
into the sleep state
|
||||
logic.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><filename>sockets.target</filename></term>
|
||||
<listitem>
|
||||
@@ -604,6 +629,15 @@
|
||||
during installation.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><filename>suspend.target</filename></term>
|
||||
<listitem>
|
||||
<para>A special target unit
|
||||
for suspending the
|
||||
system. This pulls in
|
||||
<filename>sleep.target</filename>.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><filename>swap.target</filename></term>
|
||||
<listitem>
|
||||
|
||||
Reference in New Issue
Block a user