chiark / gitweb /
man: extend documentation for RestartPreventExitStatus= and SuccessExitStatus= a bit
[elogind.git] / man / systemd.unit.xml
index bdd8f7d7014cd67010969b9a9ce3de97ba399b55..da2dba52b3510d4d2d257d6959e06aa0003f5f03 100644 (file)
                                 <varname>Requires=</varname> in order
                                 to achieve a system that is more
                                 robust when dealing with failing
-                                services.</para></listitem>
+                                services.</para>
+
+                                <para>Note that dependencies of this
+                                type may also be configured outside of
+                                the unit configuration file by
+                                adding a symlink to a
+                                <filename>.requires/</filename> directory
+                                accompanying the unit file. For
+                                details see above.</para></listitem>
                         </varlistentry>
 
                         <varlistentry>
                                 the transaction as a whole. This is
                                 the recommended way to hook start-up
                                 of one unit to the start-up of another
-                                unit. Note that dependencies of this
+                                unit.</para>
+
+                                <para>Note that dependencies of this
                                 type may also be configured outside of
                                 the unit configuration file by
                                 adding a symlink to a
                         <varlistentry>
                                 <term><varname>PartOf=</varname></term>
 
-                                 <listitem><para>Configures dependency
-                                 on other unit. When systemd stops or
-                                 restarts unit listed here, stop or
-                                 restart is propagated to dependent
-                                 units. Note that this is one way
-                                 dependency and changes to dependent
-                                 units does not affect listed unit. If
-                                 something else is desired, please
-                                 use some other type of dependency.
-                                 </para></listitem>
+                                <listitem><para>Configures dependencies
+                                similar to <varname>Requires=</varname>,
+                                but limited to stopping and restarting
+                                of units. When systemd stops or restarts
+                                the units listed here, the action is
+                                propagated to this unit.
+                                Note that this is a one way dependency -
+                                changes to this unit do not affect the
+                                listed units.
+                                </para></listitem>
                         </varlistentry>
 
                         <varlistentry>