Badlop
6ff46ae7bb
ejabberdctl: Reorganize and complete documentation of node start/debug commands
2024-03-01 10:20:25 +01:00
Badlop
6cafab776a
ejabberdctl: Document to stop live shell with control+g
2024-03-01 10:20:23 +01:00
Paweł Chmielowski
c0acc7aeb8
Recognize "!" flag in CTL_ON_{CREATE|START} to ignore failing commands
2024-02-13 11:33:10 +01:00
Badlop
72d317a02b
Halt ejabberd if a command in CTL_ON_ fails during ejabberd startup ( #97 )
2023-06-20 17:46:06 +02:00
sando38
3d5efe9e76
Dockerfile: compile ejabberdapi during build
2023-06-13 09:18:50 +02:00
Badlop
f81905d5e3
Set ERLANG_NODE fixed to ejabberd@localhost
2023-03-07 12:32:38 +01:00
Badlop
2ae9f006a3
Use Elixir's release instead of Distillery's release
2022-03-14 12:54:07 +01:00
Badlop
06a2d86b2e
Update log_rotate parsing from ejabberd's ejabberdctl updated past year
2021-04-20 11:21:17 +02:00
Badlop
54d096542e
Fix typo /this/it/
...
Cherry-picked from ejabberd upstream 18.01-22-ga0c8cac1b
2021-04-20 11:21:15 +02:00
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.
2021-04-20 11:21:13 +02:00
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
2021-04-20 11:21:11 +02:00
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
2021-04-20 11:21:09 +02:00
Badlop
964b61f584
ejabberdctl: Omit redundant erl option
...
The "-detached" flag implies "-noinput".
Cherry-picked from ejabberd upstream 18.01-42-g1b26c8d21
2021-04-20 11:21:07 +02:00
Badlop
be9b7bfe55
Limit number of atoms used by ejabberdctl ( #2977 )
...
Cherry-picked from ejabberd upstream 20.03-21-g762486d19
and 20.03-22-geac7e3488
2021-04-20 11:21:04 +02:00
Badlop
f2c6c064dd
ejabberdctl: fix parameter parsing
...
Cherry-picked from ejabberd upstream 18.03-60-gc43037887
2021-04-20 11:21:02 +02:00
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
2021-04-20 11:20:59 +02:00
Badlop
6e23742ca4
Add Elixir start scripts so "bin/ejabberdctl iexdebug" works
2021-04-06 00:28:40 +02:00
Badlop
fca16f446c
Experimental support CTL_ON_CREATE and CTL_ON_START environment variables
2021-04-05 21:32:00 +02:00
Badlop
387254bcdf
Fix again 9adadc6
: started, stopped and *) shouldn't use exec
2021-04-05 21:30:15 +02:00
Badlop
8c5e758191
Fix recent commit 9adadc6
: mkdir shouldn't run with exec
2021-04-03 17:51:39 +02:00
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
2021-03-30 21:50:52 +02:00
Christophe Romain
5e9695f2e8
Allow pettern matching in cp expresion ( #42 )
2019-07-31 10:00:58 +02:00
Christophe Romain
edb0373fd0
Keep SQL init scripts in container ( #42 )
2019-07-30 17:30:49 +02:00
Christoph Scholz
97dc39d9be
fix inet_dist_interface
2019-04-28 19:57:02 +02:00
Christophe Romain
60145df968
Add possibility to configure erlang cookie
2019-02-27 13:39:41 +01:00
Christophe Romain
a1fd44d938
Switch to multi-stage builder
2018-01-12 10:49:34 +01:00