homeserver/roles/mgrote_todoist_backup/templates/todoist_backup.service.j2
Michael Grote 00d6862f5a
Some checks failed
ansible-lint / gitleaks (pull_request) Successful in 5s
ansible-lint / Ansible Lint (pull_request) Failing after 49s
dd
2024-09-27 18:27:43 +02:00

13 lines
248 B
Django/Jinja

{{ file_header | default () }}
[Unit]
Description=Create Todoist backups.
OnFailure=todoist_backup_mail.service
[Service]
Environment="TODOIST_TOKEN=geheim"
Type=oneshot
Restart=on-failure
RestartSec=10min
ExecStart="/usr/bin/todoist_backup.sh"