Files
clawstor/deploy/systemd/clawstor-gc.service
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

20 lines
664 B
Desktop File

[Unit]
Description=Clawstor nightly GC (orphan-chunk sweep + optional size-cap eviction)
Documentation=https://git.redclaw.dev/clawverse/clawstor
After=clawstor-cluster.service
[Service]
Type=oneshot
# Default: orphan-chunk sweep only (safe on any node).
# For a size-cap fleet, override with a drop-in:
# systemctl --user edit clawstor-gc.service
# [Service]
# ExecStart=
# ExecStart=%h/clawstor-deploy/claw-store --config %h/clawstor-deploy/config.toml cluster-gc --evict-to-gb 200
ExecStart=%h/clawstor-deploy/claw-store --config %h/clawstor-deploy/config.toml cluster-gc
StandardOutput=journal
StandardError=journal
[Install]
WantedBy=default.target