Skip to content

Commit 1b9f78a

Browse files
Merge pull request #25801 from eriksjolund/update-defaultdependencies-docs
docs: update `DefaultDependencies=` description
2 parents fd8ed0b + a96b29b commit 1b9f78a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/source/markdown/podman-systemd.unit.5.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,7 @@ a significant amount of issues we decided to work around this with our own speci
256256
the `network-online.target` unit is active with `systemctl is-active network-online.target`.
257257

258258
This behavior can be disabled by adding `DefaultDependencies=false` in the `Quadlet` section.
259+
Note, the _systemd_ `[Unit]` section has an option with the same name but a different meaning.
259260

260261
## Container units [Container]
261262

@@ -2000,6 +2001,9 @@ Add Quadlet's default network dependencies to the unit (default is `true`).
20002001
When set to false, Quadlet will **not** add a dependency (After=, Wants=) to
20012002
`network-online.target`/`podman-user-wait-network-online.service` to the generated unit.
20022003

2004+
Note, this option is set in the `[Quadlet]` section. The _systemd_ `[Unit]` section
2005+
has an option with the same name but a different meaning.
2006+
20032007
## EXAMPLES
20042008

20052009
Example `test.container`:

0 commit comments

Comments
 (0)