Files
clawstor/deploy/systemd/clawstor-gc.timer
Omar Sobh 74caaed0d1
Build with clawstor cache / Cargo build (clawstor-cached) (pull_request) Failing after 3s
Phase 7h: nightly cluster-gc systemd timer
03:30 local, Persistent=true. Ordered before the Sun 04:00
scrub so scrub reads a fresh post-GC layout.

Default ExecStart is orphan-chunk sweep only (safe on any
node). Fleets that want LRU size-cap eviction add a drop-in:
  systemctl --user edit clawstor-gc.service
  [Service]
  ExecStart=
  ExecStart=%h/clawstor-deploy/claw-store --config ... cluster-gc --evict-to-gb 200

README updated.
2026-07-14 12:40:20 -07:00

14 lines
324 B
SYSTEMD

[Unit]
Description=Nightly Clawstor GC
Documentation=https://git.redclaw.dev/clawverse/clawstor
[Timer]
# 03:30 local, every day. Slots ahead of the Sunday 04:00 scrub so
# scrub always sees a fresh (post-GC) blob layout.
OnCalendar=*-*-* 03:30:00
Persistent=true
Unit=clawstor-gc.service
[Install]
WantedBy=timers.target