man: mention BoundsBy=, ConsistsOf=, RequisiteOf=

Fixes #7043.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-12-07 09:14:19 +01:00
parent 43a29e2b65
commit b292066890
1 changed files with 24 additions and 3 deletions

View File

@ -537,7 +537,14 @@
<listitem><para>Similar to <varname>Requires=</varname>. <listitem><para>Similar to <varname>Requires=</varname>.
However, if the units listed here are not started already, However, if the units listed here are not started already,
they will not be started and the transaction will fail they will not be started and the transaction will fail
immediately. </para></listitem> immediately.</para>
<para>When <varname>Requisite=b.service</varname> is used on
<filename>a.service</filename>, this dependency will show as
<varname>RequisiteOf=a.service</varname> in property listing of
<filename>b.service</filename>. <varname>RequisiteOf=</varname>
dependency cannot be specified directly.</para>
</listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
@ -575,7 +582,14 @@
enters inactive state, but also one that is bound to another unit that gets skipped due to a failed condition enters inactive state, but also one that is bound to another unit that gets skipped due to a failed condition
check (such as <varname>ConditionPathExists=</varname>, <varname>ConditionPathIsSymbolicLink=</varname>, … — check (such as <varname>ConditionPathExists=</varname>, <varname>ConditionPathIsSymbolicLink=</varname>, … —
see below) will be stopped, should it be running. Hence, in many cases it is best to combine see below) will be stopped, should it be running. Hence, in many cases it is best to combine
<varname>BindsTo=</varname> with <varname>After=</varname>.</para></listitem> <varname>BindsTo=</varname> with <varname>After=</varname>.</para>
<para>When <varname>BindsTo=b.service</varname> is used on
<filename>a.service</filename>, this dependency will show as
<varname>BoundBy=a.service</varname> in property listing of
<filename>b.service</filename>. <varname>BoundBy=</varname>
dependency cannot be specified directly.</para>
</listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
@ -586,7 +600,14 @@
restarting of units. When systemd stops or restarts the units restarting of units. When systemd stops or restarts the units
listed here, the action is propagated to this unit. Note that listed here, the action is propagated to this unit. Note that
this is a one-way dependency — changes to this unit do not this is a one-way dependency — changes to this unit do not
affect the listed units. </para></listitem> affect the listed units.</para>
<para>When <varname>PartOf=b.service</varname> is used on
<filename>a.service</filename>, this dependency will show as
<varname>ConsistsOf=a.service</varname> in property listing of
<filename>b.service</filename>. <varname>ConsistsOf=</varname>
dependency cannot be specified directly.</para>
</listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>