diff options
author | Mark Haines <mark.haines@matrix.org> | 2015-04-30 17:21:21 +0100 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2015-04-30 17:21:21 +0100 |
commit | 6ea9cf58be88678f6164f05b2eae5b3bdbc6c9f6 (patch) | |
tree | dbfb571bafd5d72feb16e43d478dbf7a3f76a184 /synapse/app/synctl.py | |
parent | read the pid_file from the config file in synctl (diff) | |
download | synapse-6ea9cf58be88678f6164f05b2eae5b3bdbc6c9f6.tar.xz |
missing import
Diffstat (limited to '')
-rwxr-xr-x | synapse/app/synctl.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/app/synctl.py b/synapse/app/synctl.py index 462dfb7d73..0a2b0d6fcd 100755 --- a/synapse/app/synctl.py +++ b/synapse/app/synctl.py @@ -18,6 +18,7 @@ import sys import os import subprocess import signal +import yaml SYNAPSE = ["python", "-B", "-m", "synapse.app.homeserver"] @@ -29,6 +30,7 @@ NORMAL = "\x1b[m" CONFIG = yaml.load(open(CONFIGFILE)) PIDFILE = CONFIG["pid_file"] + def start(): if not os.path.exists(CONFIGFILE): sys.stderr.write( |