Mercurial > libervia-backend
view docker/prosody_e2e/entrypoint.sh @ 3480:7550ae9cfbac
Renamed the project from "Salut à Toi" to "Libervia":
This renaming follows the decision taken at the General Assemblee of January 27th 2021 (cf.
https://repos.goffi.org/sat_docs/raw-file/tip/association/2021-01-27%20-%20compte%20rendu%20de%20l%27AG%20extraordinaire.pdf)
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 20 Mar 2021 20:42:04 +0100 |
parents | 127dde80a0a5 |
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 -- "$@"