summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Baker <dbkr@matrix.org>2014-10-02 10:38:11 +0100
committerDavid Baker <dbkr@matrix.org>2014-10-02 10:38:11 +0100
commitd1adb19b8af839afcb4fa4d302abb7036a9acd0a (patch)
treee0c347120bcc0591529a8a4e0ee0b6f59c711f46
parentMerge branch 'release-v0.3.4' of github.com:matrix-org/synapse (diff)
downloadsynapse-d1adb19b8af839afcb4fa4d302abb7036a9acd0a.tar.xz
Re-apply a0b1b34c71e46304f7024f0570db92f4577303b5 to master (fixing synctl)
-rwxr-xr-xsynctl4
1 files changed, 2 insertions, 2 deletions
diff --git a/synctl b/synctl
index 0f83e9cb1f..7523fd3dbc 100755
--- a/synctl
+++ b/synctl
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-SYNAPSE="synapse/app/homeserver.py"
+SYNAPSE="python -m synapse.app.homeserver"
 
 CONFIGFILE="homeserver.yaml"
 PIDFILE="homeserver.pid"
@@ -14,7 +14,7 @@ case "$1" in
   start)
     if [ ! -f "$CONFIGFILE" ]; then
       echo "No config file found"
-      echo "To generate a config file, run 'python --generate-config'"
+      echo "To generate a config file, run '$SYNAPSE -c $CONFIGFILE --generate-config'"
       exit 1
     fi