Skip to main content

Start

Start the embedded NATS server.

The server makes the streams, consumers and KV buckets that the job system needs. osapi start runs the same server, together with the controller and an agent, in one process. Use this command to run the bus as its own process. The nats.server section of the config sets the host, the port and the authentication. Refer to [Configuration](../../../configuration.md).

osapi nats server start

Examples​

osapi nats server start

Global flags​

FlagDescriptionDefault
-d, --debugEnable or disable debug mode
-j, --jsonEnable JSON output
-f, --osapi-filePath to config file/etc/osapi/osapi.yaml

Output tells how the result is printed, and what --json gives.