Mercurial > libervia-backend
view docker/prosody-e2e/entrypoint.sh @ 3527:bbf92ef05f38
plugin XEP-0166, XEP-0234: better management of `terminate`:
- new `text` argument to specify human readable reason of termination
- handling of `FirstError` (used when a error happens in a DeferredList)
- handling of `StanzaError`
- (XEP-0234): show human readable text of the reason if present
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 05 May 2021 15:37:33 +0200 |
parents | 73e04040d577 |
children |
line wrap: on
line source
#!/bin/bash set -e usermod -u "$(stat -c %u /var/lib/prosody/.)" prosody if [[ "$1" != "prosody" ]]; then exec prosodyctl "$@" exit 0; fi if [ "$LOCAL" -a "$PASSWORD" -a "$DOMAIN" ] ; then prosodyctl register "$LOCAL" "$DOMAIN" "$PASSWORD" fi exec runuser -u prosody -- "$@"