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