Run podman-image-prune before podman-auto-update
This commit is contained in:
parent
a7fa5b9b7a
commit
552c61d1b2
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user