mirror of
https://github.com/openwrt/packages.git
synced 2025-12-22 16:54:32 +04:00
Drop the config knob 'listen_address' and introduce 'listen_interface'
and 'listen_ipv6' instead.
'listen_interface' takes an openwrt interface name ('loopback', 'lan',
'wan' etc, or "*" for all), from which the primary IP is used to listen
on. If 'listen_ipv6' is set to '1', the IPv6 adress will be used, IPv4
elsewise.
procd interface triggers are now combined with this, so if the listen
interface is not yet configured when the init script is executed, the
process start is defered, and the trigger takes care of that once
the interface is ready.
Fixes #7670
Signed-off-by: Andre Heider <a.heider@gmail.com>
5 lines
130 B
Plaintext
5 lines
130 B
Plaintext
config prometheus-node-exporter-lua 'main'
|
|
option listen_interface 'loopback'
|
|
option listen_ipv6 '0'
|
|
option listen_port '9100'
|