mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-26 17:38:45 +01:00
* src/ejabberd_ctl.erl: Added command for log reopening
SVN Revision: 201
This commit is contained in:
parent
273886701b
commit
976e185a4a
@ -1,3 +1,7 @@
|
||||
2004-01-27 Alexey Shchepin <alexey@sevcom.net>
|
||||
|
||||
* src/ejabberd_ctl.erl: Added command for log reopening
|
||||
|
||||
2004-01-18 Alexey Shchepin <alexey@sevcom.net>
|
||||
|
||||
* src/ejabberd_ctl.erl: Added commands for backup processing
|
||||
|
@ -40,6 +40,9 @@ process(Node, ["restart"]) ->
|
||||
ok
|
||||
end;
|
||||
|
||||
process(Node, ["reopen-log"]) ->
|
||||
{error_logger, Node} ! {emulator, noproc, reopen};
|
||||
|
||||
process(Node, ["register", User, Password]) ->
|
||||
case rpc:call(Node, ejabberd_auth, try_register, [User, Password]) of
|
||||
{atomic, ok} ->
|
||||
@ -115,6 +118,7 @@ print_usage() ->
|
||||
"Available commands:~n"
|
||||
" stop\t\t\t\tstop ejabberd~n"
|
||||
" restart\t\t\trestart ejabberd~n"
|
||||
" reopen-log\t\t\treopen log file~n"
|
||||
" register user password\tregister a user~n"
|
||||
" unregister user\t\tunregister a user~n"
|
||||
" backup file\t\t\tstore a backup in file~n"
|
||||
|
Loading…
Reference in New Issue
Block a user