nixos/mosquitto: Migrate away from bind_address/port config keys
Fixes these two deprecation warnings, by moving away from these options towards a simple listener configuration. > The 'bind_address' option is now deprecated and will be removed in a future version. The behaviour will default to true. > The 'port' option is now deprecated and will be removed in a future version. Please use 'listener' instead. Fixes: #120860
This commit is contained in:
parent
33e867620e
commit
a2d1d16af8
|
@ -20,8 +20,7 @@ let
|
||||||
acl_file ${aclFile}
|
acl_file ${aclFile}
|
||||||
persistence true
|
persistence true
|
||||||
allow_anonymous ${boolToString cfg.allowAnonymous}
|
allow_anonymous ${boolToString cfg.allowAnonymous}
|
||||||
bind_address ${cfg.host}
|
listener ${toString cfg.port} ${cfg.host}
|
||||||
port ${toString cfg.port}
|
|
||||||
${passwordConf}
|
${passwordConf}
|
||||||
${listenerConf}
|
${listenerConf}
|
||||||
${cfg.extraConf}
|
${cfg.extraConf}
|
||||||
|
|
Loading…
Reference in New Issue