[Unit]
Description=Harbor Desk offsite backup sync
After=docker.service harbor-backup.service
Requires=docker.service

[Service]
Type=oneshot
EnvironmentFile=/etc/harbor/harbor.env
Environment=BACKUP_DIR=/var/backups/harbor
Environment=BACKUP_STATUS_DIR=/opt/harbor/deploy/backup/status
ExecStart=/opt/harbor/deploy/backup/offsite-sync.sh
User=root
Group=root
Nice=10
IOSchedulingClass=best-effort
IOSchedulingPriority=7
