entrypoint.sh 322 B

1234567
  1. # If there is no ejabberd.yml copy it from the template
  2. # and set hostname and IP as per the variables set in .env
  3. [ ! -f ~/conf/ejabberd.yml ] \
  4. && envsubst < ~/conf/ejabberd.yml.template > ~/conf/ejabberd.yml
  5. # Run ejabberdctl as done in the original entrypoint from the dockerfile
  6. /home/ejabberd/bin/ejabberdctl "$@"