diff options
author | Daniel Wagner-Hall <dawagner@gmail.com> | 2015-09-24 21:59:38 +0000 |
---|---|---|
committer | Daniel Wagner-Hall <dawagner@gmail.com> | 2015-09-24 21:59:38 +0000 |
commit | f87a11e0fdf4c1a6ebca1ab3f5e8cf33ac34c2b4 (patch) | |
tree | 74786b7c4e147f737e83d026e859c01ed29bfc2a /synapse/app/synctl.py | |
parent | Allow config file path to be configurable in in synctl (diff) | |
download | synapse-f87a11e0fdf4c1a6ebca1ab3f5e8cf33ac34c2b4.tar.xz |
Fix restart
Diffstat (limited to '')
-rwxr-xr-x | synapse/app/synctl.py | 4 |
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) |