Commit Graph

12 Commits (f2c6c064dd88c3b1cad7f44a868d6ed107bf3f41)

Author SHA1 Message Date
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 7 years ago