summary refs log tree commit diff
path: root/demo
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-08-26 13:43:55 +0100
committerErik Johnston <erik@matrix.org>2014-08-26 13:43:55 +0100
commit1291ac93f3df76914bf01243b31255718c8688da (patch)
treecd310529b800207ac0e63a330368a9871e565598 /demo
parentAdd a do_users_share_a_room method and use that in the presence handler. (diff)
downloadsynapse-1291ac93f3df76914bf01243b31255718c8688da.tar.xz
Add the ability to turn on the twisted manhole telnet service.
Diffstat (limited to 'demo')
-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..."