diff options
author | John Lin <johnlinp@gmail.com> | 2017-09-22 19:15:28 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2017-09-22 19:15:28 +0200 |
commit | a195dd8e5a0db455b4ab671dbb55ebae66fe8610 (patch) | |
tree | 0f82c1a682f6b17fa39c0e0876d537a1d6320bdf /man/systemd.unit.xml | |
parent | Merge pull request #6879 from marcelhollerbach/testsuite-fix (diff) | |
download | systemd-a195dd8e5a0db455b4ab671dbb55ebae66fe8610.tar.xz systemd-a195dd8e5a0db455b4ab671dbb55ebae66fe8610.zip |
man: Requires= needs After= to deactivate "this unit" (#6869)
Fixes: #6856
Diffstat (limited to 'man/systemd.unit.xml')
-rw-r--r-- | man/systemd.unit.xml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml index 64ad4c2b60..be65cc3c85 100644 --- a/man/systemd.unit.xml +++ b/man/systemd.unit.xml @@ -454,8 +454,9 @@ <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 |