1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-28 00:35:26 +02:00
tldr/pages/common/mosquitto.md
2025-05-11 20:01:53 +03:00

20 lines
372 B
Markdown

# mosquitto
> An MQTT broker.
> More information: <https://mosquitto.org/man/mosquitto-8.html>.
- Start Mosquitto:
`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]}}`