]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: Requires= needs After= to deactivate "this unit" (#6869)
authorJohn Lin <johnlinp@gmail.com>
Fri, 22 Sep 2017 17:15:28 +0000 (01:15 +0800)
committerLennart Poettering <lennart@poettering.net>
Fri, 22 Sep 2017 17:15:28 +0000 (19:15 +0200)
Fixes: #6856
man/systemd.unit.xml

index 64ad4c2b60e4f2736268a9e56c6bbabff39684ac..be65cc3c85745d0d2995d18666c61dedc2ccc6a9 100644 (file)
         <term><varname>Requires=</varname></term>
 
         <listitem><para>Configures requirement dependencies on other units. If this unit gets activated, the units
-        listed here will be activated as well. If one of the other units gets deactivated or its activation fails, this
-        unit will be deactivated. This option may be specified more than once or multiple space-separated units may be
+        listed here will be activated as well. If one of the other units fails to activate, and an ordering dependency
+        <varname>After=</varname> on the failing unit is set, this
+        unit will not be started. This option may be specified more than once or multiple space-separated units may be
         specified in one option in which case requirement dependencies for all listed names will be created. Note that
         requirement dependencies do not influence the order in which services are started or stopped.  This has to be
         configured independently with the <varname>After=</varname> or <varname>Before=</varname> options. If a unit