2019-08-09 17:08:35 +01:00
|
|
|
# mosquitto
|
|
|
|
|
|
|
|
> An MQTT broker.
|
2025-05-11 20:01:53 +03:00
|
|
|
> More information: <https://mosquitto.org/man/mosquitto-8.html>.
|
2019-08-09 17:08:35 +01:00
|
|
|
|
2023-06-27 14:57:35 -07:00
|
|
|
- Start Mosquitto:
|
2019-08-09 17:08:35 +01:00
|
|
|
|
|
|
|
`mosquitto`
|
|
|
|
|
|
|
|
- Specify a configuration file to use:
|
|
|
|
|
2025-05-11 20:01:53 +03:00
|
|
|
`mosquitto {{[-c|--config-file]}} {{path/to/file.conf}}`
|
2019-08-09 17:08:35 +01:00
|
|
|
|
|
|
|
- Listen on a specific port:
|
|
|
|
|
2025-05-11 20:01:53 +03:00
|
|
|
`mosquitto {{[-p|--port]}} {{8883}}`
|
2019-08-09 17:08:35 +01:00
|
|
|
|
|
|
|
- Daemonize by forking into the background:
|
|
|
|
|
2025-05-11 20:01:53 +03:00
|
|
|
`mosquitto {{[-d|--daemon]}}`
|