[Unit] Description=Windy Git nightly backup (git bundles + windgit schema -> R2) After=network-online.target docker.service [Service] Type=oneshot WorkingDirectory=/srv/windygit/src # The .env holds the R2 credentials. The script refuses to run without them # rather than reporting a backup that did not happen. EnvironmentFile=/srv/windygit/src/.env ExecStart=/bin/bash /srv/windygit/src/scripts/backup.sh Nice=10 IOSchedulingClass=idle