mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-15 18:13:59 +01:00
missing import
This commit is contained in:
parent
c95480963e
commit
6ea9cf58be
1 changed files with 2 additions and 0 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue