dd
Some checks failed
ansible-lint / gitleaks (pull_request) Successful in 4s
ansible-lint / Ansible Lint (pull_request) Failing after 48s

This commit is contained in:
Michael Grote 2024-09-27 18:37:35 +02:00
parent a8b62e32c7
commit a07ad897e7
2 changed files with 6 additions and 1 deletions

View file

@ -5,7 +5,6 @@ Description=Create Todoist backups.
OnFailure=todoist_backup_mail.service OnFailure=todoist_backup_mail.service
[Service] [Service]
Environment="TODOIST_TOKEN=geheim"
Type=oneshot Type=oneshot
Restart=on-failure Restart=on-failure
RestartSec=10min RestartSec=10min

View file

@ -1,4 +1,10 @@
#!/bin/bash #!/bin/bash
TODOIST_TOKEN=geheim
cd /shares_backup/full-offline-backup-for-todoist cd /shares_backup/full-offline-backup-for-todoist
python3 -m full_offline_backup_for_todoist --verbose download --with-attachments python3 -m full_offline_backup_for_todoist --verbose download --with-attachments
# TODO shellcheck