FreeBSD Bugzilla – Attachment 253902 Details for
Bug 281453
sysutils/ipmi_exporter: Add listen-address configuration variable
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
new diff with comment for new variable
ipmi_exporter.in.diff (text/plain), 1.04 KB, created by
Andreas E
on 2024-09-30 07:19:20 UTC
(
hide
)
Description:
new diff with comment for new variable
Filename:
MIME Type:
Creator:
Andreas E
Created:
2024-09-30 07:19:20 UTC
Size:
1.04 KB
patch
obsolete
>diff --git a/sysutils/ipmi_exporter/files/ipmi_exporter.in b/sysutils/ipmi_exporter/files/ipmi_exporter.in >index e97363374..215dec45e 100644 >--- a/sysutils/ipmi_exporter/files/ipmi_exporter.in >+++ b/sysutils/ipmi_exporter/files/ipmi_exporter.in >@@ -11,6 +11,9 @@ > # Default: NO > # ipmi_exporter_config (str): Set to the path of configuration file. > # Default: "" >+# ipmi_exporter_listen_address (str): Set to the IP or hostname and port to bind to. >+# Default: ":9290" >+ > > . /etc/rc.subr > name=ipmi_exporter >@@ -19,11 +22,14 @@ load_rc_config $name > > : ${ipmi_exporter_enable:="NO"} > : ${ipmi_exporter_config:=""} >+: ${ipmi_exporter_listen_address:=":9290"} > > pidfile="/var/run/${name}.pid" > command="/usr/sbin/daemon" > procname="%%PREFIX%%/bin/${name}" >-command_args="-S -p ${pidfile} ${procname} --config.file=\"${ipmi_exporter_config}\"" >+command_args="-S -p ${pidfile} ${procname} \ >+ --web.listen-address=${ipmi_exporter_listen_address} \ >+ --config.file=\"${ipmi_exporter_config}\"" > start_precmd="${name}_precmd" > > ipmi_exporter_precmd()
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 281453
:
253512
| 253902