Mercurial > libervia-backend
view docker/prosody-e2e/entrypoint.sh @ 3690:1680eec4cbfd
docker: use `@` instead of `tip` for dev images:
`tip` links to most recent commit which may be on an other bookmark than the main one.
By using `@`, we're sure that the main bookmark is used.
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 20 Oct 2021 17:23:22 +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 -- "$@"