docker: add housekeeping #105

Merged
mg merged 12 commits from dhc into master 2024-06-05 18:58:29 +02:00
2 changed files with 2 additions and 1 deletions
Showing only changes of commit 2332546cf0 - Show all commits

View file

@ -20,6 +20,7 @@
mode: "0644" mode: "0644"
notify: notify:
- systemctl daemon-reload - systemctl daemon-reload
- Start timer
- name: Enable Units - name: Enable Units
become: true become: true

View file

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