homeserver/roles/mgrote_docker_housekeeping/templates/docker_housekeeping.timer.j2
Michael Grote d1c18d270a
All checks were successful
ci/woodpecker/push/gitleaks Pipeline was successful
ci/woodpecker/push/ansible-lint Pipeline was successful
docker: add housekeeping (#105)
Reviewed-on: #105
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Co-committed-by: Michael Grote <michael.grote@posteo.de>
2024-06-05 18:58:28 +02:00

12 lines
272 B
Django/Jinja

{{ file_header | default () }}
[Unit]
Description=Timer for docker_housekeeping backups.
[Timer]
# https://wiki.archlinux.org/title/systemd/Timers
OnCalendar={{ docker_housekeeping_schedule }}
RandomizedDelaySec=30 min
[Install]
WantedBy=timers.target multi-user.target