From: Yu Watanabe Date: Wed, 18 Oct 2017 06:30:35 +0000 (+0900) Subject: man: add explanation about target's DefaultDependencies= (#7120) X-Git-Tag: v236~316 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c85f1346c0e96edccbf3213328334cb80c64508c;p=thirdparty%2Fsystemd.git man: add explanation about target's DefaultDependencies= (#7120) Closes #7113. --- diff --git a/man/systemd.target.xml b/man/systemd.target.xml index 281f5d4d6c6..bc7f846c88e 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 b66225fc6e0..c37eb323612 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.