mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-18 17:10:43 +03:00
switch to registering users via add_users.sh
This commit is contained in:
parent
e7b70e272f
commit
1682ee95ac
2 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue