mirror of https://github.com/CrimsonTome/tldr.git
21 lines
325 B
Markdown
21 lines
325 B
Markdown
# mosquitto
|
|
|
|
> An MQTT broker.
|
|
> More information: <https://mosquitto.org/>.
|
|
|
|
- Start mosquitto:
|
|
|
|
`mosquitto`
|
|
|
|
- Specify a configuration file to use:
|
|
|
|
`mosquitto --config-file {{path/to/file.conf}}`
|
|
|
|
- Listen on a specific port:
|
|
|
|
`mosquitto --port {{8883}}`
|
|
|
|
- Daemonize by forking into the background:
|
|
|
|
`mosquitto --daemon`
|