check-redis-init-layer
| Version | 2026.144.1443 |
| Repo | superproject |
bench-redis-init — pre-populates redis with bench:hello = world
Companion to the redis layer. Sets the key bench:hello to world
after redis-server is up so the tier4-redis recipe’s
redis-cli get bench:hello probe returns the expected value.
Services
Section titled “Services”bench-redis-init
Acceptance plan
Section titled “Acceptance plan”This candy’s plan: — the runnable spec charly check executes against a live deployment. check: steps are idempotent probes; run: steps change state.
| Intent | Step |
|---|---|
run |
write=/usr/local/bin/bench-redis-init.sh |
check |
the bench-redis-init seed script is installed and executable at /usr/local/bin/bench-redis-init.sh and issues the redis-cli set for bench:hello |
check |
after the service runs, redis serves the pre-populated key bench:hello = world |
agent-check |
the bench-redis-init service stays running after seeding the key (exec sleep infinity, restart=always) so supervisord does not restart-loop it |