matrix-docker-ansible-deploy/roles/matrix-dendrite/templates/dendrite/usr-local-bin/matrix-dendrite-create-account.j2
Slavi Pantaleev ccd3dc7a57 Remove Dendrite file logging
We refrain from logging to files for all components,
because we rely on systemd-journald anyway.
2022-01-07 15:59:35 +02:00

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"