mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-11-07 03:07:33 +01:00
ccd3dc7a57
We refrain from logging to files for all components, because we rely on systemd-journald anyway.
13 lines
251 B
Django/Jinja
13 lines
251 B
Django/Jinja
#jinja2: lstrip_blocks: "True"
|
|
#!/bin/bash
|
|
|
|
if [ $# -ne 2 ]; then
|
|
echo "Usage: "$0" <username> <password>"
|
|
exit 1
|
|
fi
|
|
|
|
user=$1
|
|
password=$2
|
|
|
|
docker exec matrix-dendrite create-account --config /data/dendrite.yaml --user "$user" --password "$password"
|