From: John Lin Date: Mon, 20 Nov 2017 09:55:52 +0000 (+0800) Subject: man: Requires= stops this unit when dependencies get deactivated (#7391) X-Git-Tag: v236~178 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e79eabdb1becc93cf4afc909aa18dc40c931eab5;p=thirdparty%2Fsystemd.git man: Requires= stops this unit when dependencies get deactivated (#7391) Fixes: #7372 --- diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml index 18ad2b5f596..60475246235 100644 --- a/man/systemd.unit.xml +++ b/man/systemd.unit.xml @@ -504,8 +504,9 @@ 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 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 + After= on the failing unit is set, this unit will not be started. Besides, with or without + specifying After=, this unit will be deactivated if one of the other units get deactivated. + 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