mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-11-07 11:17:34 +01:00
13 lines
252 B
Plaintext
13 lines
252 B
Plaintext
|
#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"
|