lynxpm reload
📖 Synopsis
Section titled “📖 Synopsis”lynxpm reload [--namespace <ns>] [--json] <id|name|ns:*|*>...Description
Section titled “Description”Reload a process configuration from its stored spec and restart it. Useful after editing a spec file or changing environment.
Bulk selectors:
<ns>:*— every process in that namespace. Quote the glob so the shell does not expand it:lynxpm reload 'prod:*'.*or*:*— every managed process.--namespace <ns>— same as<ns>:*but no shell quoting needed. Cannot be combined with positional targets.
⚙️ Flags
Section titled “⚙️ Flags”| Flag | Type | Default | Description |
|---|---|---|---|
--namespace <ns> | string | - | Reload every process in this namespace. Mutually exclusive with positional targets. |
--json | boolean | false | Emit a machine-readable {results, summary} batch report on stdout. |
-h, --help | - | - | Show help message. |
🚀 Examples
Section titled “🚀 Examples”Reload by name:
lynxpm reload my-apiReload multiple:
lynxpm reload api-1 api-2Reload every process in the prod namespace:
lynxpm reload 'prod:*' # selector form (quote the glob)lynxpm reload --namespace prod # flag form (script-friendly)Reload and inspect the summary:
lynxpm reload api worker --json | jq '.summary'Exit codes
Section titled “Exit codes”0— every target was reloaded.- non-zero — at least one target failed; the per-target line (or
.results[].errorin--json) explains why.