lux down
Stop a sovereign-L1 node by identity (not by PID file)
lux down
Stops the luxd node for <network>/<env> by:
- Probing http://127.0.0.1:<httpPort>/v1/info → info.getNetworkID
- Verifying the response equals the expected networkID from chain.yaml
- Looking up the PID listening on httpPort via lsof
- SIGTERM → wait drain → SIGKILL if still up
The (network, env) tuple alone determines what gets stopped. No --data-dir, no --pid-file. Refusal-by-default: if the responder's networkID does not match, we leave it alone.
Examples: lux down zoo/localnet lux down lux/devnet
Usage:
lux down <network>/<env>