From abf2a3f6225c39663d0bd5ffc83d9e05e4181ad2 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Mon, 16 Sep 2024 16:38:23 +0200 Subject: [PATCH] ff --- .../templates/docker_housekeeping.service.j2 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/roles/mgrote_docker_housekeeping/templates/docker_housekeeping.service.j2 b/roles/mgrote_docker_housekeeping/templates/docker_housekeeping.service.j2 index 944f6a2a..10ac730c 100644 --- a/roles/mgrote_docker_housekeeping/templates/docker_housekeeping.service.j2 +++ b/roles/mgrote_docker_housekeeping/templates/docker_housekeeping.service.j2 @@ -4,6 +4,5 @@ Description=docker housekeeping tasks [Service] Type=oneshot -ExecStart=/usr/bin/docker system prune --force --filter "until=24h" --all -ExecStart=/usr/bin/docker buildx prune --force --filter "until=24h" +ExecStart=/usr/bin/docker system prune --force --filter "until=24h" --all && /usr/bin/docker buildx prune --force --filter "until=24h" # https://docs.docker.com/config/pruning