Files
clawstor/deploy/systemd/clawstor-scrub.service
T
Omar Sobh 3000021ac3
Build with clawstor cache / Cargo build (clawstor-cached) (pull_request) Successful in 11s
Phase 7g: weekly cluster-scrub systemd timer
Deploy artifact. Sunday 04:00 local, Persistent=true so a
box that missed the wall-clock moment fires on next boot.

Timer + Service pair — both go under
~/.config/systemd/user/. The service is Type=oneshot; timer
drives it. Non-zero exit from cluster-scrub (integrity issue)
surfaces via systemd failed state; journalctl has the details.

README updated with install recipe.
2026-07-14 12:38:59 -07:00

18 lines
643 B
Desktop File

[Unit]
Description=Clawstor read-only integrity scrub (BLAKE3 verify every chunk)
Documentation=https://git.redclaw.dev/clawverse/clawstor
After=clawstor-cluster.service network-online.target
[Service]
Type=oneshot
# Retarget via `systemctl --user edit clawstor-scrub.service`.
ExecStart=%h/clawstor-deploy/claw-store --config %h/clawstor-deploy/config.toml cluster-scrub
StandardOutput=journal
StandardError=journal
# Best-effort: an integrity failure surfaces as an exit code (the
# CLI bails on chunks_corrupt + chunks_missing > 0). systemd will
# mark the unit failed; the journal captures the details.
[Install]
WantedBy=default.target