summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-05-14 15:36:38 -0400
committerGitHub <noreply@github.com>2021-05-14 15:36:38 -0400
commit2b0b97150a01c5a3c1706dd369a0caeb5cf6ec09 (patch)
tree37962017a806f6ae62ec37a3690f112549e666e8
parented003617b270c11421b236d85a7d885073a7cb66 (diff)
parent9738f63bac594c40f884bfad80b94892cd75493a (diff)
downloadpodman-2b0b97150a01c5a3c1706dd369a0caeb5cf6ec09.tar.gz
podman-2b0b97150a01c5a3c1706dd369a0caeb5cf6ec09.tar.bz2
podman-2b0b97150a01c5a3c1706dd369a0caeb5cf6ec09.zip
Merge pull request #10341 from vrothberg/auto-update-prune
auto-update service: prune images
-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