mirror of
https://github.com/containers/podman.git
synced 2025-10-29 00:38:34 +08:00
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>
14 lines
302 B
Desktop File
14 lines
302 B
Desktop File
[Unit]
|
|
Description=Podman auto-update service
|
|
Documentation=man:podman-auto-update(1)
|
|
Wants=network-online.target
|
|
After=network-online.target
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/usr/bin/podman auto-update
|
|
ExecStartPost=/usr/bin/podman image prune -f
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target default.target
|