ansible-edda/playbooks/roles/services/setup/system/files/auto_update/podman-image-prune.service

13 lines
292 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=pod-service-auto-update.service
2022-10-06 23:15:06 +02:00
[Service]
Type=oneshot
ExecStart=/usr/bin/podman container prune -f
2023-11-06 05:22:29 +01:00
ExecStart=/usr/bin/podman image prune -a -f
2022-10-06 23:15:06 +02:00
[Install]
WantedBy=pod-service-auto-update.service