man,units: document what user "default.target" is a bit

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2019-03-15 09:10:02 +01:00
parent 2fffb93b32
commit 827f62c3f2
2 changed files with 16 additions and 3 deletions

View file

@ -1022,10 +1022,23 @@
<title>Special User Units</title>
<para>When systemd runs as a user instance, the following special
units are available, which have similar definitions as their
units are available:</para>
<variablelist>
<varlistentry>
<term><filename>default.target</filename></term>
<listitem>
<para>This is the main target of the user session, started by default. Various services that
compose the normal user session should be pulled into this target. In this regard,
<filename>default.target</filename> is similar to <filename>multi-user.target</filename> in the
system instance, but it is a real unit, not an alias.</para>
</listitem>
</varlistentry>
</variablelist>
<para>In addition, the following units are available which have definitions similar to their
system counterparts:
<filename>exit.target</filename>,
<filename>default.target</filename>,
<filename>shutdown.target</filename>,
<filename>sockets.target</filename>,
<filename>timers.target</filename>,

View file

@ -8,7 +8,7 @@
# (at your option) any later version.
[Unit]
Description=Default
Description=Main User Target
Documentation=man:systemd.special(7)
Requires=basic.target
After=basic.target