anchor.diff:  %%--------------------------------------------------------------------
   init([]) ->
       process_flag(trap_exit, true),
  -    case vmq_plugin_mgr:enable_module_plugin(?MODULE, change_config, 1) of
  -        ok ->
  -            {ok, []};
  -        {error, Reason} ->
  -            {stop, Reason}
  -    end.
  +    Env = vmq_config:get_all_env(vmq_server),
  +    _ = configure_listeners(Env, []),
  +    {ok, #state{}}.
   
   %%--------------------------------------------------------------------
   %% @private
  
positive.code: -module(vmq_ranch_config).
  
  -behaviour(gen_server).
  -behaviour(on_config_change_hook).
  
  %% API
  -export([start_link/0,
           change_config/1,
           start_listener/4,
           reconfigure_listeners/1,
           stop_listener/2,
  
negative.code:          terminate/2,
           code_change/3]).
  
  -record(state, {}).
  
  %%%===================================================================
  %%% API
  %%%===================================================================
  