mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
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`
|