diff options
author | Valentin Rothberg <rothberg@redhat.com> | 2021-07-16 14:58:08 +0200 |
---|---|---|
committer | Valentin Rothberg <rothberg@redhat.com> | 2021-07-16 14:58:08 +0200 |
commit | 6f1c7a0b6b5a5cb4eb830758653f307fece8b08d (patch) | |
tree | bfa324561ee2b55c9dd5328215e4d615639dcc77 /docs | |
parent | ce28dc3c4c3dba468ddb6f2a249c0c4bfc058805 (diff) | |
download | podman-6f1c7a0b6b5a5cb4eb830758653f307fece8b08d.tar.gz podman-6f1c7a0b6b5a5cb4eb830758653f307fece8b08d.tar.bz2 podman-6f1c7a0b6b5a5cb4eb830758653f307fece8b08d.zip |
systemd: require network*-online*.target
Require the network to be online in all (generated) systemd units to
make sure that containers and Podman run only after the network has been
fully configured.
Fixes: #10655
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/source/markdown/podman-generate-systemd.1.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/source/markdown/podman-generate-systemd.1.md b/docs/source/markdown/podman-generate-systemd.1.md index 28c455b78..357120381 100644 --- a/docs/source/markdown/podman-generate-systemd.1.md +++ b/docs/source/markdown/podman-generate-systemd.1.md @@ -73,7 +73,7 @@ $ podman generate systemd --restart-policy=always -t 1 nginx [Unit] Description=Podman container-de1e3223b1b888bc02d0962dd6cb5855eb00734061013ffdd3479d225abacdc6.service Documentation=man:podman-generate-systemd(1) -Wants=network.target +Wants=network-online.target After=network-online.target RequiresMountsFor=/var/run/container/storage @@ -102,7 +102,7 @@ $ sudo podman generate systemd --new --files --name bb310a0780ae [Unit] Description=Podman container-busy_moser.service Documentation=man:podman-generate-systemd(1) -Wants=network.target +Wants=network-online.target After=network-online.target RequiresMountsFor=/var/run/container/storage @@ -144,7 +144,7 @@ Description=Podman pod-systemd-pod.service Documentation=man:podman-generate-systemd(1) Requires=container-amazing_chandrasekhar.service container-jolly_shtern.service Before=container-amazing_chandrasekhar.service container-jolly_shtern.service -Wants=network.target +Wants=network-online.target After=network-online.target RequiresMountsFor=/var/run/container/storage |