[Unit] Description=Verify the nightly backup pull actually worked After=network-online.target Wants=network-online.target [Service] Type=oneshot User={{ ansible_user_id }} ExecStart=/usr/local/bin/check-backups.sh {{ backup_store_check_max_age_hours }} Environment=BACKUP_CHECK_PUSH_BASE={{ backup_store_check_push_base }} Environment=BACKUP_CHECK_PUSH_TOKEN={{ backup_store_check_push_token }} StandardOutput=journal StandardError=journal [Install] WantedBy=multi-user.target