d
This commit is contained in:
parent
5ea40b6d46
commit
fcba5f4bfd
2 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue