switch to registering users via add_users.sh

This commit is contained in:
Matthew Hodgson 2018-11-27 00:55:04 +00:00 committed by Brendan Abolivier
parent e7b70e272f
commit 1682ee95ac
2 changed files with 4 additions and 2 deletions

View file

@ -70,7 +70,8 @@ RUN apt-get update && apt-get install -y \
inetutils-ping \
less \
lsof \
supervisor
supervisor \
netcat
# for topologiser
RUN pip install flask

View file

@ -70,7 +70,8 @@ else:
# Generate missing keys and start synapse
subprocess.check_output(args + ["--generate-keys"])
os.system("(sleep 10; /usr/local/bin/register_new_matrix_user -u matthew -p secret -c /compiled/homeserver.yaml -a) &");
# we register our test users in start_hs.sh now to avoid having to wait for HS launch
#os.system("(sleep 10; /usr/local/bin/register_new_matrix_user -u matthew -p secret -c /compiled/homeserver.yaml -a) &");
os.execv("/usr/local/bin/python", args)