diff options
author | Gabor Javorszky <g.javorszky@f5.com> | 2024-09-16 10:38:38 +0100 |
---|---|---|
committer | Andrew Clayton <a.clayton@nginx.com> | 2024-09-16 22:52:56 +0100 |
commit | 5e8a68935f614100bbab7865e693b33856022a98 (patch) | |
tree | 4d2744d861f027ecb444ebdfe7f88d7280abc142 /tools/unitctl/README.md | |
parent | 63148a31d52e325c912fcef7d53a39a325718c99 (diff) | |
download | unit-5e8a68935f614100bbab7865e693b33856022a98.tar.gz unit-5e8a68935f614100bbab7865e693b33856022a98.tar.bz2 |
tools/unitctl: rename app -> apps, fix readme
Signed-off-by: Gabor Javorszky <g.javorszky@f5.com>
Diffstat (limited to 'tools/unitctl/README.md')
-rw-r--r-- | tools/unitctl/README.md | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/unitctl/README.md b/tools/unitctl/README.md index 9f7e010b..66d8f50d 100644 --- a/tools/unitctl/README.md +++ b/tools/unitctl/README.md @@ -63,6 +63,7 @@ Commands: execute Sends raw JSON payload to Unit status Get the current status of Unit listeners List active listeners + apps List all configured Unit applications help Print this message or the help of the given subcommand(s) Options: @@ -150,7 +151,7 @@ Unitctl can also request from the API that an application be restarted. Listing applications: ``` -$ unitctl app list +$ unitctl apps list { "wasm": { "type": "wasm-wasi-component", @@ -161,7 +162,7 @@ $ unitctl app list Restarting an application: ``` -$ unitctl app reload wasm +$ unitctl apps reload wasm { "success": "Ok" } |