But a proper executable

This commit is contained in:
Maciej Szlosarczyk 2019-05-27 19:48:41 +03:00
parent dce19a1107
commit e7aa9b9770
No known key found for this signature in database
GPG key ID: 41D62D42D3B0D765
4 changed files with 5 additions and 7 deletions

View file

@ -15,6 +15,7 @@
%%==================================================================== %%====================================================================
start(_StartType, _StartArgs) -> start(_StartType, _StartArgs) ->
application:ensure_all_started(ssl),
epp_proxy_sup:start_link(). epp_proxy_sup:start_link().
%%-------------------------------------------------------------------- %%--------------------------------------------------------------------

View file

@ -100,7 +100,6 @@ read_length(Socket) ->
read_frame(Socket, FrameLength) -> read_frame(Socket, FrameLength) ->
case gen_tcp:recv(Socket, FrameLength) of case gen_tcp:recv(Socket, FrameLength) of
{ok, Data} -> {ok, Data} ->
io:format("Frame: ~p~n", [Data]),
{ok, Data}; {ok, Data};
{error, Reason} -> {error, Reason} ->
io:format("Error: ~p~n", [Reason]), io:format("Error: ~p~n", [Reason]),

View file

@ -111,7 +111,6 @@ read_length(Socket) ->
read_frame(Socket, FrameLength) -> read_frame(Socket, FrameLength) ->
case ssl:recv(Socket, FrameLength) of case ssl:recv(Socket, FrameLength) of
{ok, Data} -> {ok, Data} ->
io:format("Frame: ~p~n", [Data]),
{ok, Data}; {ok, Data};
{error, Reason} -> {error, Reason} ->
io:format("Error: ~p~n", [Reason]), io:format("Error: ~p~n", [Reason]),

View file

@ -4,15 +4,14 @@
{relx, [{release, {epp_proxy, "0.1.0"}, {relx, [{release, {epp_proxy, "0.1.0"},
[epp_proxy, [epp_proxy,
hackney, hackney,
sasl]}, sasl,
ssl,
xmerl]},
{sys_config, "./config/sys.config"}, {sys_config, "./config/sys.config"},
{vm_args, "./config/vm.args"}, {vm_args, "./config/vm.args"},
{dev_mode, true}, {include_erts, true}]
{include_erts, false},
{extended_start_script, true}]
}. }.
{profiles, [{prod, [{relx, [{dev_mode, false}, {profiles, [{prod, [{relx, [{dev_mode, false},