summary refs log tree commit diff
path: root/demo/start.sh
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-08-13 11:39:38 +0100
committerErik Johnston <erik@matrix.org>2015-08-13 11:39:38 +0100
commitc044aca1fdcdd7a5c8a16ef709e961c141909004 (patch)
tree38ebba516ceef2be2a37be9a67a76d74f2739cf9 /demo/start.sh
parentComment (diff)
parentAdd some metrics about the reactor (diff)
downloadsynapse-c044aca1fdcdd7a5c8a16ef709e961c141909004.tar.xz
Merge branch 'erikj/reactor_metrics' into erikj/dictionary_cache
Diffstat (limited to 'demo/start.sh')
-rwxr-xr-xdemo/start.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/demo/start.sh b/demo/start.sh
index b5dea5e176..572dbfab0b 100755
--- a/demo/start.sh
+++ b/demo/start.sh
@@ -23,7 +23,6 @@ for port in 8080 8081 8082; do
     #rm $DIR/etc/$port.config
     python -m synapse.app.homeserver \
         --generate-config \
-        --enable_registration \
         -H "localhost:$https_port" \
         --config-path "$DIR/etc/$port.config" \
 
@@ -36,6 +35,8 @@ for port in 8080 8081 8082; do
         fi
     fi
 
+    perl -p -i -e 's/^enable_registration:.*/enable_registration: true/g' $DIR/etc/$port.config
+
     python -m synapse.app.homeserver \
         --config-path "$DIR/etc/$port.config" \
         -D \