Merge pull request #25801 from eriksjolund/update-defaultdependencies-docs

docs: update `DefaultDependencies=` description
This commit is contained in:
openshift-merge-bot[bot] 2025-04-08 17:25:29 +00:00 committed by GitHub
commit 1b9f78a33c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -256,6 +256,7 @@ a significant amount of issues we decided to work around this with our own speci
the `network-online.target` unit is active with `systemctl is-active network-online.target`.
This behavior can be disabled by adding `DefaultDependencies=false` in the `Quadlet` section.
Note, the _systemd_ `[Unit]` section has an option with the same name but a different meaning.
## Container units [Container]
@ -2000,6 +2001,9 @@ Add Quadlet's default network dependencies to the unit (default is `true`).
When set to false, Quadlet will **not** add a dependency (After=, Wants=) to
`network-online.target`/`podman-user-wait-network-online.service` to the generated unit.
Note, this option is set in the `[Quadlet]` section. The _systemd_ `[Unit]` section
has an option with the same name but a different meaning.
## EXAMPLES
Example `test.container`: