summary refs log tree commit diff
path: root/demo/start.sh
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2014-08-26 14:59:54 +0100
committerKegan Dougal <kegan@matrix.org>2014-08-26 14:59:54 +0100
commit27979028b2d7bb248c7e70d09ab0f79b708f8e5a (patch)
treed7943508bd16f2c4e2d81590ad1edcc1ff1d4d5c /demo/start.sh
parentwebclient: Updated to use /rooms/$roomid/[invite|join|leave] (diff)
parentAdd the ability to turn on the twisted manhole telnet service. (diff)
downloadsynapse-27979028b2d7bb248c7e70d09ab0f79b708f8e5a.tar.xz
Merge branch 'develop' of github.com:matrix-org/synapse into client_server_url_rename
Diffstat (limited to 'demo/start.sh')
-rwxr-xr-xdemo/start.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/demo/start.sh b/demo/start.sh
index 4701872926..1e591aabb8 100755
--- a/demo/start.sh
+++ b/demo/start.sh
@@ -6,7 +6,7 @@ CWD=$(pwd)
 
 cd "$DIR/.."
 
-for port in "8080" "8081" "8082"; do
+for port in 8080 8081 8082; do
     echo "Starting server on port $port... "
 
     python -m synapse.app.homeserver \
@@ -15,7 +15,8 @@ for port in "8080" "8081" "8082"; do
         -f "$DIR/$port.log" \
         -d "$DIR/$port.db" \
         -vv \
-        -D --pid-file "$DIR/$port.pid"
+        -D --pid-file "$DIR/$port.pid" \
+        --manhole $((port + 1000))
 done
 
 echo "Starting webclient on port 8000..."