ansible-edda/plays/services/roles/base/files/system/systemd/podman-image-prune.service

13 lines
289 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
2022-10-06 23:15:06 +02:00
ExecStart=/usr/bin/podman image prune -f
[Install]
WantedBy=pod-service-auto-update.service