[Unit] Description=Weekly Gitea Backup Wants=network.target After=network.target gitea.service Before=shutdown.target reboot.target halt.target [Service] Type=oneshot User=root ExecStart=/usr/local/bin/backup.sh