Register 'fun emqttd:reboot/0'

This commit is contained in:
Feng Lee 2017-06-16 14:52:40 +08:00
parent 9b646d8cbc
commit adfd34852b
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ register_acl_mod() ->
init_cluster() -> init_cluster() ->
ekka:callback(prepare, fun emqttd:shutdown/1), ekka:callback(prepare, fun emqttd:shutdown/1),
ekka:callback(reboot, fun emqttd:reboot/1). ekka:callback(reboot, fun emqttd:reboot/0).
%%-------------------------------------------------------------------- %%--------------------------------------------------------------------
%% Start Listeners %% Start Listeners