docker: add housekeeping #105
2 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue