mosquitto: support notifications_local_only flag

Supported since mosquitto 1.5 released in May 2018, and has long
been supported in the init scripts.

Signed-off-by: Karl Palsson <karlp@etactica.com>
This commit is contained in:
Karl Palsson 2020-09-02 09:09:38 +00:00
parent 304ad04a5f
commit 47936a0e08

View file

@ -160,6 +160,7 @@ OptionalFlag(s, "cleansession", "Clean session")
OptionalFlag(s, "notifications", "notifications",
"Attempt to notify the local and remote broker of connection status, defaults to $SYS/broker/connections/<clientid>/state")
s:option(Value, "notification_topic", "Topic to use for local+remote remote for notifications.").optional = true
OptionalFlag(s, "notification_local_only", "Notifications local only", "Bridge connection states should only be published locally")
s:option(Value, "remote_clientid", "Client id to use on remote end of this bridge connection").optional = true
s:option(Value, "local_clientid", "Client id to use locally. Important when bridging to yourself").optional = true