Commit Graph

26 Commits (master)

Author SHA1 Message Date
Badlop 6ff46ae7bb ejabberdctl: Reorganize and complete documentation of node start/debug commands 2 months ago
Badlop 6cafab776a ejabberdctl: Document to stop live shell with control+g 2 months ago
Paweł Chmielowski c0acc7aeb8 Recognize "!" flag in CTL_ON_{CREATE|START} to ignore failing commands 3 months ago
Badlop 72d317a02b Halt ejabberd if a command in CTL_ON_ fails during ejabberd startup (#97) 11 months ago
sando38 3d5efe9e76 Dockerfile: compile ejabberdapi during build 11 months ago
Badlop f81905d5e3 Set ERLANG_NODE fixed to ejabberd@localhost 1 year ago
Badlop 2ae9f006a3 Use Elixir's release instead of Distillery's release 2 years ago
Badlop 06a2d86b2e Update log_rotate parsing from ejabberd's ejabberdctl updated past year 3 years ago
Badlop 54d096542e Fix typo /this/it/
Cherry-picked from ejabberd upstream 18.01-22-ga0c8cac1b
3 years ago
Badlop a30f59d04f Copy some code from ejabberd's ejabberdctl.template
This code is copied from ejabberd's upstream ejabberdctl.template,
even if useless, to try to have a file as close as possible.
3 years ago
Badlop f7e1d1d735 Allow passing Erlang VM args through vm.args config file
This can be used to define the Erlang cookie in a place that feels less foreign to
non Erlang users.
Fixes #3343

Cherry-picked from ejaberd upstream 20.04-91-g09454e165
3 years ago
Badlop dddf54fa82 Add 'ejabberdctl foreground-quiet'
This starts ejabberd without detaching process but setups
console logging to display only critical messages.

Cherry-picked from ejabberd upstream 20.12-73-g3516d2053
3 years ago
Badlop 964b61f584 ejabberdctl: Omit redundant erl option
The "-detached" flag implies "-noinput".

Cherry-picked from ejabberd upstream 18.01-42-g1b26c8d21
3 years ago
Badlop be9b7bfe55 Limit number of atoms used by ejabberdctl ( #2977)
Cherry-picked from ejabberd upstream 20.03-21-g762486d19
and 20.03-22-geac7e3488
3 years ago
Badlop f2c6c064dd ejabberdctl: fix parameter parsing
Cherry-picked from ejabberd upstream 18.03-60-gc43037887
3 years ago
Badlop a17ada0d0e Only create cookie file if it doesn't exist
Without that change, when ERLANG_COOKIE environment is set, it complains:
 /home/ejabberd/bin/ejabberdctl: line 76:
 can't create /home/ejabberd/.erlang.cookie: Permission denied
3 years ago
Badlop 6e23742ca4 Add Elixir start scripts so "bin/ejabberdctl iexdebug" works 3 years ago
Badlop fca16f446c Experimental support CTL_ON_CREATE and CTL_ON_START environment variables 3 years ago
Badlop 387254bcdf Fix again 9adadc6: started, stopped and *) shouldn't use exec 3 years ago
Badlop 8c5e758191 Fix recent commit 9adadc6: mkdir shouldn't run with exec 3 years ago
Badlop 9adadc6999 Start BEAM with exec to maintain the PID and catch SIGTERM in Docker Stop
Until now, when stopping the ejabberd container, Erlang is not gracefully
closed, Mnesia is not properly closed... exit code is 137.
With this change, when the container is stopped, Erlang receives the
SIGTERM signal, shutsdown, Mnesia database is properly closed, ...
and exit code is 0.
Reference: processone/ejabberd#2822
3 years ago
Christophe Romain 5e9695f2e8 Allow pettern matching in cp expresion (#42) 5 years ago
Christophe Romain edb0373fd0 Keep SQL init scripts in container (#42) 5 years ago
Christoph Scholz 97dc39d9be fix inet_dist_interface 5 years ago
Christophe Romain 60145df968 Add possibility to configure erlang cookie 5 years ago
Christophe Romain a1fd44d938 Switch to multi-stage builder 6 years ago