14 lines
368 B
Django/Jinja
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"
|