commands.sh

mosquitto

all

An MQTT broker.

More info →

Options (3)

-c, --config-fileboolean

Specify a configuration file to use

Example: mosquitto {{[-c|--config-file]}} {{path/to/file.conf}}
-p, --portboolean

Listen on a specific port

Example: mosquitto {{[-p|--port]}} {{8883}}
-d, --daemonboolean

Daemonize by forking into the background

Example: mosquitto {{[-d|--daemon]}}

Examples (4)

Start Mosquitto

Specify a configuration file to use

mosquitto [-c|--config-file] path/to/file.conf

Listen on a specific port

mosquitto [-p|--port] 8883

Daemonize by forking into the background

mosquitto [-d|--daemon]
made by @shridhargupta | data from tldr-pages