commit
269cef2c1b
3
Makefile
3
Makefile
|
@ -2,13 +2,14 @@ PROJECT = emqttd
|
|||
PROJECT_DESCRIPTION = Erlang MQTT Broker
|
||||
PROJECT_VERSION = 2.1
|
||||
|
||||
DEPS = gproc lager esockd mochiweb
|
||||
DEPS = gproc lager esockd mochiweb lager_syslog
|
||||
|
||||
dep_gproc = git https://github.com/uwiger/gproc
|
||||
dep_getopt = git https://github.com/jcomellas/getopt v0.8.2
|
||||
dep_lager = git https://github.com/basho/lager master
|
||||
dep_esockd = git https://github.com/emqtt/esockd master
|
||||
dep_mochiweb = git https://github.com/emqtt/mochiweb
|
||||
dep_lager_syslog = git https://github.com/basho/lager_syslog
|
||||
|
||||
ERLC_OPTS += +'{parse_transform, lager_transform}'
|
||||
|
||||
|
|
|
@ -72,7 +72,7 @@ print_vsn() ->
|
|||
|
||||
start_servers(Sup) ->
|
||||
Servers = [{"emqttd ctl", emqttd_ctl},
|
||||
{"emqttd hook", emqttd_hook},
|
||||
{"emqttd hook", emqttd_hooks},
|
||||
{"emqttd router", emqttd_router},
|
||||
{"emqttd pubsub", {supervisor, emqttd_pubsub_sup}},
|
||||
{"emqttd stats", emqttd_stats},
|
||||
|
|
|
@ -39,7 +39,7 @@ start_client(WsPid, Req, ReplyChannel) ->
|
|||
%%--------------------------------------------------------------------
|
||||
|
||||
init([]) ->
|
||||
Env = lists:append(emqttd:env(client), emqttd:env(protocol)),
|
||||
Env = lists:append(emqttd:env(client, []), emqttd:env(protocol, [])),
|
||||
{ok, {{simple_one_for_one, 0, 1},
|
||||
[{ws_client, {emqttd_ws_client, start_link, [Env]},
|
||||
temporary, 5000, worker, [emqttd_ws_client]}]}}.
|
||||
|
|
Loading…
Reference in New Issue