ansible-edda/playbooks/filesystem/common/etc/systemd/user/podman-image-prune.service

13 lines
279 B
SYSTEMD
Raw Normal View History

2022-10-06 23:15:06 +02:00
[Unit]
Description=Prune dangling podman images
Documentation=man:podman-image-prune(1)
Before=podman-auto-update.service
2022-10-06 23:15:06 +02:00
[Service]
Type=oneshot
ExecStart=/usr/bin/podman container prune -f
2022-10-06 23:15:06 +02:00
ExecStart=/usr/bin/podman image prune -f
[Install]
WantedBy=podman-auto-update.service