From 1b7f6c180efda5e612b39663ee733eadf0e08a23 Mon Sep 17 00:00:00 2001 From: Feng Lee Date: Wed, 22 Apr 2015 01:32:31 +0800 Subject: [PATCH] listeners, plugins --- rel/files/app.config | 2 +- rel/files/plugins.config | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 rel/files/plugins.config diff --git a/rel/files/app.config b/rel/files/app.config index 3abc80b36..c46c2034c 100644 --- a/rel/files/app.config +++ b/rel/files/app.config @@ -90,7 +90,7 @@ {ping_down_interval, 1} %seconds ]}, %% Listen Ports - {listen, [ + {listeners, [ {mqtt, 1883, [ {backlog, 512}, %{buffer, 4096}, diff --git a/rel/files/plugins.config b/rel/files/plugins.config new file mode 100644 index 000000000..5c59be866 --- /dev/null +++ b/rel/files/plugins.config @@ -0,0 +1,10 @@ +[{emqttd_plugin_demo, [ + {config, value} + ]}, + {emqttd_dashboard, [ + {http, 8080, [ + {acceptors, 4}, + {max_clients, 512}, + {access, [{allow, "127.0.0.1"}]}]} + ]} +].