summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2014-11-17 19:16:15 +0000
committerMark Haines <mark.haines@matrix.org>2014-11-17 19:16:15 +0000
commit26fc8789445c22f85467387bec7eeb6eccedc2c5 (patch)
tree2f2ddea3939316b0cb41394cc108d9fa71eddce4 /synapse
parentyet another installation gotcha (diff)
downloadsynapse-26fc8789445c22f85467387bec7eeb6eccedc2c5.tar.xz
Stop before starting when restarting
Diffstat (limited to 'synapse')
-rwxr-xr-xsynapse/app/synctl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/app/synctl.py b/synapse/app/synctl.py
index e85073b06b..abe055a64c 100755
--- a/synapse/app/synctl.py
+++ b/synapse/app/synctl.py
@@ -56,8 +56,8 @@ def main():
     elif action == "stop":
         stop()
     elif action == "restart":
-        start()
         stop()
+        start()
     else:
         sys.stderr.write("Usage: %s [start|stop|restart]\n" % (sys.argv[0],))
         sys.exit(1)