Files
cheatsheet-tldr/tldr/mosquitto

26 lines
418 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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`