docs: update DefaultDependencies description

Signed-off-by: Erik Sjölund <erik.sjolund@gmail.com>
This commit is contained in:
Erik Sjölund
2025-04-05 09:50:43 +02:00
parent 70b01e2aa9
commit a96b29b58c

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`: