Skip to content

Commit c345417

Browse files
sirainencmouse
authored andcommitted
data/settings: Clarify that listen setting can be overridden inside inet_listener
1 parent 252e369 commit c345417

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

data/settings.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6829,6 +6829,7 @@ distinguish different listener types that one service may employ.`
68296829
inet_listener_port: {
68306830
tags: [ 'service' ],
68316831
values: setting_types.IN_PORT,
6832+
seealso: [ 'listen' ],
68326833
default: 0,
68336834
text: `
68346835
Port number where to listen. \`0\` disables the listener.`
@@ -6970,6 +6971,17 @@ Example:
69706971
69716972
\`\`\`
69726973
listen = 127.0.0.1, 192.168.0.1
6974+
\`\`\`
6975+
6976+
This setting can be used also inside an [[setting,inet_listener]] to override
6977+
the listener address, e.g.:
6978+
6979+
\`\`\`
6980+
service imap-login {
6981+
inet_listener imap {
6982+
listen = 192.168.0.1
6983+
}
6984+
}
69736985
\`\`\``
69746986
},
69756987

0 commit comments

Comments
 (0)