CLI Reference
Commands
qaws [options]
qaws check --config <file>
qaws status [options]
qaws stop [options]
qaws restart [options]
qaws help
qaws versionServer options
| Option | Value | Default |
|---|---|---|
--host | address | 0.0.0.0 |
--port | port | 80 |
--serve | directory | ./public |
--config | file | none |
Logging options
| Option | Value | Default |
|---|---|---|
--log-format | plain or jsonl | plain |
--log-file | path | stderr or derived daemon path |
--access-log | none | enabled |
--no-access-log | none | enabled |
HTTP and performance options
| Option | Value | Default |
|---|---|---|
--keep-alive | none | enabled |
--no-keep-alive | none | enabled |
--sendfile | none | enabled |
--no-sendfile | none | enabled |
--keep-alive-timeout-ms | positive integer | 5000 |
--max-requests-per-connection | positive integer | 1000 |
--max-connections | positive integer | 1024 |
--workers | positive integer | topology-selected automatic count |
Daemon options
| Option | Value | Default |
|---|---|---|
-d | none | foreground |
--pid-file | path | derived |
--log-file | path | derived in daemon mode |
--force | none | only for stop and restart |
Examples
Foreground local:
qaws --host 127.0.0.1 --port 8080 --serve ./publicForeground LAN:
qaws --host 0.0.0.0 --port 8080 --serve ./publicConfig with CLI override:
qaws --config qaws.json --port 18086 --no-access-logDaemon:
qaws -d --pid-file /tmp/qaws.pid --log-file /tmp/qaws.log --port 18086Daemon stop:
qaws stop --pid-file /tmp/qaws.pid --forceVersion:
qaws versionExpected output:
qaws 0.2.7ETags, ranges, and precompressed sidecars are configured only through strict
JSON in 0.2.7; they intentionally do not add CLI flags.