Run podman-image-prune before podman-auto-update
This commit is contained in:
parent
a7fa5b9b7a
commit
552c61d1b2
@ -1,11 +1,11 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Prune dangling podman images
|
Description=Prune dangling podman images
|
||||||
Documentation=man:podman-image-prune(1)
|
Documentation=man:podman-image-prune(1)
|
||||||
After=podman-auto-update.service
|
Before=podman-auto-update.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
ExecStartPre=/usr/bin/podman container prune -f
|
ExecStart=/usr/bin/podman container prune -f
|
||||||
ExecStart=/usr/bin/podman image prune -f
|
ExecStart=/usr/bin/podman image prune -f
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
Loading…
Reference in New Issue
Block a user