diff options
author | Lennart Poettering <lennart@poettering.net> | 2024-01-03 19:29:23 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2024-03-14 11:34:04 +0100 |
commit | e8fd555471322829d0efcdc8871c80438cd0a75c (patch) | |
tree | 11fc1be96227b1a676f2f890c8353fb64513923a /man/systemd.special.xml | |
parent | busctl: teach busctl a --capsule=/-C switch too (diff) | |
download | systemd-e8fd555471322829d0efcdc8871c80438cd0a75c.tar.xz systemd-e8fd555471322829d0efcdc8871c80438cd0a75c.zip |
man: document the new concepts
Diffstat (limited to 'man/systemd.special.xml')
-rw-r--r-- | man/systemd.special.xml | 66 |
1 files changed, 46 insertions, 20 deletions
diff --git a/man/systemd.special.xml b/man/systemd.special.xml index 988b7175ba..a8717d65c4 100644 --- a/man/systemd.special.xml +++ b/man/systemd.special.xml @@ -96,9 +96,10 @@ <filename>umount.target</filename>, <filename>usb-gadget.target</filename>, <!-- slices --><filename>-.slice</filename>, + <filename>capsule.slice</filename>, + <filename>machine.slice</filename>, <filename>system.slice</filename>, <filename>user.slice</filename>, - <filename>machine.slice</filename>, <!-- the rest --><filename>-.mount</filename>, <filename>dbus.service</filename>, <filename>dbus.socket</filename>, @@ -1291,46 +1292,56 @@ <varlistentry> <term><filename>-.slice</filename></term> <listitem> - <para>The root slice is the root of the slice hierarchy. It usually does not contain - units directly, but may be used to set defaults for the whole tree.</para> + <para>The root slice is the root of the slice hierarchy. It usually does not contain units + directly, but may be used to set defaults for the whole tree.</para> <xi:include href="version-info.xml" xpointer="v206"/> </listitem> </varlistentry> <varlistentry> - <term><filename>system.slice</filename></term> + <term><filename>machine.slice</filename></term> <listitem> - <para>By default, all system services started by - <command>systemd</command> are found in this slice.</para> + <para>By default, all virtual machines and containers registered with + <command>systemd-machined</command> are found in this slice. This is pulled in by + <filename>systemd-machined.service</filename>.</para> <xi:include href="version-info.xml" xpointer="v206"/> </listitem> </varlistentry> <varlistentry> - <term><filename>user.slice</filename></term> + <term><filename>capsule.slice</filename></term> <listitem> - <para>By default, all user processes and services started on - behalf of the user, including the per-user systemd instance - are found in this slice. This is pulled in by - <filename>systemd-logind.service</filename>.</para> + <para>By default, all capsules encapsulated in <filename>capsule@.service</filename> are found in + this slice.</para> + + <xi:include href="version-info.xml" xpointer="v255"/> + </listitem> + </varlistentry> + + <varlistentry> + <term><filename>system.slice</filename></term> + <listitem> + <para>By default, all system services started by <command>systemd</command> are found in this + slice.</para> <xi:include href="version-info.xml" xpointer="v206"/> </listitem> </varlistentry> <varlistentry> - <term><filename>machine.slice</filename></term> + <term><filename>user.slice</filename></term> <listitem> - <para>By default, all virtual machines and containers - registered with <command>systemd-machined</command> are - found in this slice. This is pulled in by - <filename>systemd-machined.service</filename>.</para> + <para>By default, all user processes and services started on + behalf of the user, including the per-user systemd instance + are found in this slice. This is pulled in by + <filename>systemd-logind.service</filename>.</para> <xi:include href="version-info.xml" xpointer="v206"/> </listitem> </varlistentry> + </variablelist> </refsect2> </refsect1> @@ -1348,16 +1359,31 @@ <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> + <para>This is the main target of the user service manager, started by default when the service + manager is invoked. 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> <xi:include href="version-info.xml" xpointer="v242"/> </listitem> </varlistentry> </variablelist> + <variablelist> + <varlistentry> + <term><filename>capsule@.target</filename></term> + <listitem> + <para>This is the main target of capsule service managers, started by default, instantiated with + the capsule name. This may be used to define different sets of units that are started for + different capsules via generic unit definitions. For details about capsules see + <citerefentry><refentrytitle>capsule@.service</refentrytitle><manvolnum>5</manvolnum></citerefentry>.</para> + + <xi:include href="version-info.xml" xpointer="v255"/> + </listitem> + </varlistentry> + </variablelist> + <para>In addition, the following units are available which have definitions similar to their system counterparts: <filename>exit.target</filename>, |