aboutsummaryrefslogtreecommitdiff
path: root/contrib/systemd
diff options
context:
space:
mode:
authorValentin Rothberg <rothberg@redhat.com>2021-07-16 14:58:08 +0200
committerValentin Rothberg <rothberg@redhat.com>2021-07-16 14:58:08 +0200
commit6f1c7a0b6b5a5cb4eb830758653f307fece8b08d (patch)
treebfa324561ee2b55c9dd5328215e4d615639dcc77 /contrib/systemd
parentce28dc3c4c3dba468ddb6f2a249c0c4bfc058805 (diff)
downloadpodman-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 'contrib/systemd')
-rw-r--r--contrib/systemd/auto-update/podman-auto-update.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/systemd/auto-update/podman-auto-update.service b/contrib/systemd/auto-update/podman-auto-update.service
index 9376db225..dc5fac8cf 100644
--- a/contrib/systemd/auto-update/podman-auto-update.service
+++ b/contrib/systemd/auto-update/podman-auto-update.service
@@ -1,7 +1,7 @@
[Unit]
Description=Podman auto-update service
Documentation=man:podman-auto-update(1)
-Wants=network.target
+Wants=network-online.target
After=network-online.target
[Service]