homeserver/roles/mgrote_todoist_backup/templates/todoist_backup.service.j2
2024-09-27 18:06:17 +02:00

14 lines
368 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
WorkingDirectory="/shares_backup/full-offline-backup-for-todoist"
ExecStart="python3 -m full_offline_backup_for_todoist --verbose download --with-attachments"