mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-26 17:38:45 +01:00
Erase transient certificates on exit
This commit is contained in:
parent
5d5b4cdfb5
commit
fe9b191382
@ -245,7 +245,8 @@ handle_info(_Info, State) ->
|
|||||||
|
|
||||||
terminate(_Reason, _State) ->
|
terminate(_Reason, _State) ->
|
||||||
ejabberd_hooks:delete(route_registered, ?MODULE, route_registered, 50),
|
ejabberd_hooks:delete(route_registered, ?MODULE, route_registered, 50),
|
||||||
ejabberd_hooks:delete(config_reloaded, ?MODULE, config_reloaded, 30).
|
ejabberd_hooks:delete(config_reloaded, ?MODULE, config_reloaded, 30),
|
||||||
|
clean_dir(certs_dir()).
|
||||||
|
|
||||||
code_change(_OldVsn, State, _Extra) ->
|
code_change(_OldVsn, State, _Extra) ->
|
||||||
{ok, State}.
|
{ok, State}.
|
||||||
|
Loading…
Reference in New Issue
Block a user