From c85f1346c0e96edccbf3213328334cb80c64508c Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Wed, 18 Oct 2017 15:30:35 +0900 Subject: [PATCH] man: add explanation about target's DefaultDependencies= (#7120) Closes #7113. --- man/systemd.target.xml | 3 ++- man/systemd.unit.xml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/man/systemd.target.xml b/man/systemd.target.xml index 281f5d4d6c..bc7f846c88 100644 --- a/man/systemd.target.xml +++ b/man/systemd.target.xml @@ -95,7 +95,8 @@ Target units will automatically complement all configured dependencies of type Wants= or Requires= with dependencies of type - After=. Note that Wants= or + After= unless DefaultDependencies=no + is set in the specified units. Note that Wants= or Requires= must be defined in the target unit itself — if you for example define Wants=some.target in some.service, the automatic ordering will not be added. diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml index b66225fc6e..c37eb32361 100644 --- a/man/systemd.unit.xml +++ b/man/systemd.unit.xml @@ -297,7 +297,8 @@ For example, target units will complement all configured dependencies of type Wants= or Requires= with dependencies of type - After=. See + After= unless DefaultDependencies=no + is set in the specified units. See systemd.target5 for details. Note that this behavior can be turned off by setting DefaultDependencies=no.