missing import
parent
c95480963e
commit
6ea9cf58be
|
@ -18,6 +18,7 @@ import sys
|
||||||
import os
|
import os
|
||||||
import subprocess
|
import subprocess
|
||||||
import signal
|
import signal
|
||||||
|
import yaml
|
||||||
|
|
||||||
SYNAPSE = ["python", "-B", "-m", "synapse.app.homeserver"]
|
SYNAPSE = ["python", "-B", "-m", "synapse.app.homeserver"]
|
||||||
|
|
||||||
|
@ -29,6 +30,7 @@ NORMAL = "\x1b[m"
|
||||||
CONFIG = yaml.load(open(CONFIGFILE))
|
CONFIG = yaml.load(open(CONFIGFILE))
|
||||||
PIDFILE = CONFIG["pid_file"]
|
PIDFILE = CONFIG["pid_file"]
|
||||||
|
|
||||||
|
|
||||||
def start():
|
def start():
|
||||||
if not os.path.exists(CONFIGFILE):
|
if not os.path.exists(CONFIGFILE):
|
||||||
sys.stderr.write(
|
sys.stderr.write(
|
||||||
|
|
Loading…
Reference in New Issue