summary refs log tree commit diff
path: root/synapse/app
diff options
context:
space:
mode:
authorDaniel Wagner-Hall <dawagner@gmail.com>2015-09-24 21:59:38 +0000
committerDaniel Wagner-Hall <dawagner@gmail.com>2015-09-24 21:59:38 +0000
commitf87a11e0fdf4c1a6ebca1ab3f5e8cf33ac34c2b4 (patch)
tree74786b7c4e147f737e83d026e859c01ed29bfc2a /synapse/app
parentAllow config file path to be configurable in in synctl (diff)
downloadsynapse-f87a11e0fdf4c1a6ebca1ab3f5e8cf33ac34c2b4.tar.xz
Fix restart
Diffstat (limited to '')
-rwxr-xr-xsynapse/app/synctl.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/app/synctl.py b/synapse/app/synctl.py
index af4f9ff7e0..1078d19b79 100755
--- a/synapse/app/synctl.py
+++ b/synapse/app/synctl.py
@@ -73,8 +73,8 @@ def main():
     elif action == "stop":
         stop(pidfile)
     elif action == "restart":
-        stop()
-        start()
+        stop(pidfile)
+        start(configfile)
     else:
         sys.stderr.write("Usage: %s [start|stop|restart] [configfile]\n" % (sys.argv[0],))
         sys.exit(1)