Skip to content

Commit dd934a4

Browse files
committed
Remove inet_dist_listen_min / inet_dist_listen_max from ini-style config
Part of rabbitmq/rabbitmq-server#1881
1 parent a79e859 commit dd934a4

File tree

2 files changed

+6
-23
lines changed

2 files changed

+6
-23
lines changed

Makefile

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,17 @@ PIPENV := /usr/local/bin/pipenv
2525
endif
2626

2727
ifeq ($(PLATFORM),Linux)
28-
OPEN := xdg-open
28+
OPEN ?= xdg-open
2929

30-
LIBXSLT := /usr/include/libxslt
30+
LIBXSLT ?= /usr/include/libxslt
3131

32-
PYTHON := /usr/bin/python3
33-
PIPENV := /usr/bin/pipenv
32+
PYTHON ?= /usr/bin/python3
33+
PIPENV ?= /usr/bin/pipenv
3434
endif
3535

3636
export LC_ALL := en_US.UTF-8
3737
export LANG := en_US.UTF-8
3838

39-
4039
TCP_PORT := 8191
4140

4241
### TARGETS ###
@@ -50,27 +49,18 @@ $(LIBXSLT):
5049
ifeq ($(PLATFORM),Darwin)
5150
@brew install libxslt
5251
endif
53-
ifeq ($(PLATFORM),Linux)
54-
$(error Please install $(BOLD)libxslt$(NORMAL))
55-
endif
5652

5753
$(PYTHON):
5854
ifeq ($(PLATFORM),Darwin)
5955
@brew install python
6056
endif
61-
ifeq ($(PLATFORM),Linux)
62-
$(error Please install $(BOLD)python3$(NORMAL))
63-
endif
6457

6558
$(PIPENV): $(PYTHON)
6659
ifeq ($(PLATFORM),Darwin)
6760
ifeq ($(wildcard $(PIPENV_BIN)),)
6861
@brew install pipenv
6962
endif
7063
endif
71-
ifeq ($(PLATFORM),Linux)
72-
$(error Please install $(BOLD)pipenv$(NORMAL))
73-
endif
7464

7565
deps: $(LIBXSLT) $(PIPENV)
7666
@$(PIPENV) --python $(PYTHON) --venv || $(PIPENV) --python $(PYTHON) install

site/networking.xml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -273,10 +273,10 @@ In the <a href="/configure.html#erlang-term-config-file">classic config format</
273273

274274
<ul>
275275
<li>
276-
<code>inet_dist_listen_min</code> (<code>kernel.inet_dist_listen_min</code> in the classic config format)
276+
<code>kernel.inet_dist_listen_min</code> in the <b>classic</b> config format <em>only</em>
277277
</li>
278278
<li>
279-
<code>inet_dist_listen_min</code> (<code>kernel.inet_dist_listen_max</code> in the classic config format)
279+
<code>kernel.inet_dist_listen_max</code> in the <b>classic</b> config format <em>only</em>
280280
</li>
281281
</ul>
282282

@@ -285,13 +285,6 @@ In the <a href="/configure.html#erlang-term-config-file">classic config format</
285285
<p>
286286
The example below uses a range with a single port but a value different from default:
287287

288-
<pre class="lang-ini">
289-
inet_dist_listen_min = 33672
290-
inet_dist_listen_max = 33672
291-
</pre>
292-
293-
In the classic config format:
294-
295288
<pre class="lang-erlang">
296289
[
297290
{kernel, [

0 commit comments

Comments
 (0)