Fix mosquitto.conf dynamic-security plugin_opts syntax
Mosquitto 2.1.2 config format has no nested-block syntax; plugin
options must be flat plugin_opt_<name> directives, not a
plugin_opts { } block. Broker was crash-looping on every start.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
parent
e712352ed6
commit
705b3a0561
1 changed files with 1 additions and 3 deletions
|
|
@ -1760,9 +1760,7 @@ log_dest file /mosquitto/log/mosquitto.log
|
||||||
log_dest stdout
|
log_dest stdout
|
||||||
|
|
||||||
plugin /usr/lib/mosquitto_dynamic_security.so
|
plugin /usr/lib/mosquitto_dynamic_security.so
|
||||||
plugin_opts {
|
plugin_opt_config_file /mosquitto/data/dynamic-security.json
|
||||||
config_file /mosquitto/data/dynamic-security.json
|
|
||||||
}
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
push_file 104 /opt/mqtt-broker/docker-compose.yml <<'EOF'
|
push_file 104 /opt/mqtt-broker/docker-compose.yml <<'EOF'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue