[Unit]
Description=Padelnomics Landing Zone Backup to R2
After=network-online.target
Wants=network-online.target

[Service]
Type=oneshot
User=padelnomics_service
EnvironmentFile=/opt/padelnomics/.env
ExecStart=/bin/sh -c 'exec /usr/bin/rclone sync /data/padelnomics/landing/ r2-landing:${R2_LANDING_BUCKET}/padelnomics/ --log-level INFO --exclude ".state.sqlite*"'
TimeoutStartSec=1800
