From a195dd8e5a0db455b4ab671dbb55ebae66fe8610 Mon Sep 17 00:00:00 2001 From: John Lin Date: Sat, 23 Sep 2017 01:15:28 +0800 Subject: [PATCH] man: Requires= needs After= to deactivate "this unit" (#6869) Fixes: #6856 --- man/systemd.unit.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml index 64ad4c2b60e..be65cc3c857 100644 --- a/man/systemd.unit.xml +++ b/man/systemd.unit.xml @@ -454,8 +454,9 @@ Requires= 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 + After= 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 After= or Before= options. If a unit -- 2.47.3