mirror of
https://github.com/processone/ejabberd
synced 2025-10-04 10:19:31 +02:00
Update docker files from latest Rafael's changes
This commit is contained in:
parent
e469b6ffb4
commit
430fc8eb62
28 changed files with 599 additions and 451 deletions
24
docker/scripts/post/10_ejabberd_modules_update_specs.sh
Executable file
24
docker/scripts/post/10_ejabberd_modules_update_specs.sh
Executable file
|
@ -0,0 +1,24 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
# Updates the known modules as to be found in https://github.com/processone/ejabberd-contrib
|
||||
|
||||
source "${EJABBERD_HOME}/scripts/lib/base_config.sh"
|
||||
source "${EJABBERD_HOME}/scripts/lib/config.sh"
|
||||
source "${EJABBERD_HOME}/scripts/lib/base_functions.sh"
|
||||
source "${EJABBERD_HOME}/scripts/lib/functions.sh"
|
||||
|
||||
|
||||
run_modules_update_specs() {
|
||||
echo -n 'Updating module specs... '
|
||||
${EJABBERDCTL} modules_update_specs
|
||||
}
|
||||
|
||||
|
||||
is_true ${EJABBERD_SKIP_MODULES_UPDATE} \
|
||||
&& exit 0
|
||||
|
||||
run_modules_update_specs
|
||||
|
||||
|
||||
exit 0
|
Loading…
Add table
Add a link
Reference in a new issue