diff options
author | Christophe Romain <christophe.romain@process-one.net> | 2018-01-11 10:19:56 +0100 |
---|---|---|
committer | Christophe Romain <christophe.romain@process-one.net> | 2018-01-11 10:19:56 +0100 |
commit | d6e1bc242c11b74f1aedde1398322253a753225d (patch) | |
tree | f18b670be077d1669ab2383da1e2d2e524771b74 /docker/scripts/pre/20_ejabberd_config.sh | |
parent | Prepare mix for 18.01 (diff) |
Remove old docker specs
Diffstat (limited to 'docker/scripts/pre/20_ejabberd_config.sh')
-rwxr-xr-x | docker/scripts/pre/20_ejabberd_config.sh | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/docker/scripts/pre/20_ejabberd_config.sh b/docker/scripts/pre/20_ejabberd_config.sh deleted file mode 100755 index 498648c5a..000000000 --- a/docker/scripts/pre/20_ejabberd_config.sh +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/bash -set -e - -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" - - -make_config() { - if [ ! -e ${CONFIGFILE} ]; then - echo "Generating ejabberd config file..." - cat ${CONFIGTEMPLATE} \ - | python -c "${PYTHON_JINJA2}" \ - > ${CONFIGFILE} - else - echo "ejabberd config file exists." - fi - - if [ ! -e ${CTLCONFIGFILE} ]; then - echo "Generating ejabberdctl config file..." - cat ${CTLCONFIGTEMPLATE} \ - | python -c "${PYTHON_JINJA2}" \ - > ${CTLCONFIGFILE} - else - echo "ejabberdctl config file exists." - fi -} - - -file_exist ${FIRST_START_DONE_FILE} \ - && exit 0 - - -# generate config file -make_config - -exit 0 |