From 552c61d1b212b57fb6693768b01c2595f0bd276c Mon Sep 17 00:00:00 2001 From: Wojciech Kozlowski Date: Sun, 13 Nov 2022 10:28:35 +0100 Subject: [PATCH] Run podman-image-prune before podman-auto-update --- .../common/etc/systemd/user/podman-image-prune.service | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/playbooks/filesystem/common/etc/systemd/user/podman-image-prune.service b/playbooks/filesystem/common/etc/systemd/user/podman-image-prune.service index 7f967a3..d2408fc 100644 --- a/playbooks/filesystem/common/etc/systemd/user/podman-image-prune.service +++ b/playbooks/filesystem/common/etc/systemd/user/podman-image-prune.service @@ -1,11 +1,11 @@ [Unit] Description=Prune dangling podman images Documentation=man:podman-image-prune(1) -After=podman-auto-update.service +Before=podman-auto-update.service [Service] Type=oneshot -ExecStartPre=/usr/bin/podman container prune -f +ExecStart=/usr/bin/podman container prune -f ExecStart=/usr/bin/podman image prune -f [Install]