Re-apply a0b1b34c71 to master (fixing synctl)

This commit is contained in:
David Baker 2014-10-02 10:38:11 +01:00
parent 697f6714a4
commit d1adb19b8a

4
synctl
View File

@ -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