d
Some checks failed
ci/woodpecker/push/gitleaks Pipeline was successful
ci/woodpecker/push/ansible-lint Pipeline failed

This commit is contained in:
Michael Grote 2024-06-05 18:55:38 +02:00
parent 5ea40b6d46
commit fcba5f4bfd
2 changed files with 3 additions and 1 deletions

View file

@ -4,4 +4,5 @@ Description=Docker housekeeping tasks
[Service]
Type=simple
ExecStart=/usr/bin/docker system prune --force
ExecStart=/usr/bin/docker system prune --force --filter "until=24h"
# https://docs.docker.com/config/pruning

View file

@ -3,6 +3,7 @@
Description=Timer for docker_housekeeping backups.
[Timer]
# https://wiki.archlinux.org/title/systemd/Timers
OnCalendar={{ docker_housekeeping_schedule }}
RandomizedDelaySec=30 min