18 lines
297 B
Erlang
18 lines
297 B
Erlang
-module(mgw_nat_app).
|
|
-behavior(application).
|
|
-export([start/2, stop/1]).
|
|
|
|
-export([reload_config/0]).
|
|
|
|
start(_Type, _Args) ->
|
|
Sup = mgw_nat_sup:start_link(),
|
|
io:format("Sup ~p~n", [Sup]),
|
|
Sup.
|
|
|
|
stop(_State) ->
|
|
ok.
|
|
|
|
reload_config() ->
|
|
osmo_util:reload_config(),
|
|
mgw_nat_adm:reload_config().
|