[Unit] Description=Clawstor nightly ref sweep (Gitea live-refs → stale-fingerprint report) Documentation=https://git.redclaw.dev/clawverse/clawstor After=clawstor-cluster.service network-online.target [Service] Type=oneshot # Retarget with a drop-in when the Gitea URL or token differs. # Default 14-day retention window; use --retention-days N to override. Environment=CLAWSTOR_GITEA_URL=https://git.redclaw.dev # Set the Gitea token via ~/.config/systemd/user/clawstor-ref-sweep.service.d/token.conf: # [Service] # Environment=GITEA_TOKEN=xxx # or via `systemctl --user set-environment` before enabling. ExecStart=%h/clawstor-deploy/claw-store --config %h/clawstor-deploy/config.toml cluster-ref-sweep --gitea-url ${CLAWSTOR_GITEA_URL} --retention-days 14 StandardOutput=journal StandardError=journal [Install] WantedBy=default.target