mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
* src/ejabberd_app.erl: Initialize ejabberd_commands and start
ejabbed_admin (EJAB-694) SVN Revision: 1635
This commit is contained in:
parent
10ab81f4b4
commit
25d1094468
@ -1,5 +1,8 @@
|
|||||||
2008-10-12 Badlop <badlop@process-one.net>
|
2008-10-12 Badlop <badlop@process-one.net>
|
||||||
|
|
||||||
|
* src/ejabberd_app.erl: Initialize ejabberd_commands and start
|
||||||
|
ejabbed_admin (EJAB-694)
|
||||||
|
|
||||||
* src/ejabberd_admin.erl: Implement commands from old
|
* src/ejabberd_admin.erl: Implement commands from old
|
||||||
ejabberd_ctl (EJAB-694)
|
ejabberd_ctl (EJAB-694)
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
|
|
||||||
-behaviour(application).
|
-behaviour(application).
|
||||||
|
|
||||||
-export([start/2, prep_stop/1, stop/1, init/0]).
|
-export([start_modules/0,start/2, prep_stop/1, stop/1, init/0]).
|
||||||
|
|
||||||
-include("ejabberd.hrl").
|
-include("ejabberd.hrl").
|
||||||
|
|
||||||
@ -48,6 +48,8 @@ start(normal, _Args) ->
|
|||||||
translate:start(),
|
translate:start(),
|
||||||
acl:start(),
|
acl:start(),
|
||||||
ejabberd_ctl:init(),
|
ejabberd_ctl:init(),
|
||||||
|
ejabberd_commands:init(),
|
||||||
|
ejabberd_admin:start(),
|
||||||
gen_mod:start(),
|
gen_mod:start(),
|
||||||
ejabberd_config:start(),
|
ejabberd_config:start(),
|
||||||
ejabberd_check:config(),
|
ejabberd_check:config(),
|
||||||
@ -72,6 +74,7 @@ start(_, _) ->
|
|||||||
%% before shutting down the processes of the application.
|
%% before shutting down the processes of the application.
|
||||||
prep_stop(State) ->
|
prep_stop(State) ->
|
||||||
stop_modules(),
|
stop_modules(),
|
||||||
|
ejabberd_admin:stop(),
|
||||||
State.
|
State.
|
||||||
|
|
||||||
%% All the processes were killed when this function is called
|
%% All the processes were killed when this function is called
|
||||||
|
Loading…
Reference in New Issue
Block a user