summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--contrib/systemd/auto-update/podman-auto-update.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/systemd/auto-update/podman-auto-update.service b/contrib/systemd/auto-update/podman-auto-update.service
index 068dab95b..9376db225 100644
--- a/contrib/systemd/auto-update/podman-auto-update.service
+++ b/contrib/systemd/auto-update/podman-auto-update.service
@@ -7,6 +7,7 @@ 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