summary refs log tree commit diff
diff options
context:
space:
mode:
authorJorik Schellekens <joriks@matrix.org>2019-09-12 15:58:32 +0100
committerJorik Schellekens <joriks@matrix.org>2019-09-12 15:58:32 +0100
commit074e7b185f96eecef53e3ac1500188a392cea233 (patch)
treed9a3d31b77698eb891c1bd7bd2d03972655744c8
parentHow did I flip that again?? (diff)
downloadsynapse-joriks/exit_code_fix.tar.xz
-rwxr-xr-xsynctl3
1 files changed, 2 insertions, 1 deletions
diff --git a/synctl b/synctl
index f1656eb96e..45acece30b 100755
--- a/synctl
+++ b/synctl
@@ -113,7 +113,8 @@ def start_worker(app: str, configfile: str, worker_configfile: str) -> bool:
         worker_configfile: path to worker specific yaml synapse file
 
     Returns:
-        boolean stating whether synapse started successfully if daemonize is True
+        True if the process started successfully
+        False if there was an error starting the process
     """
 
     args = [sys.executable, "-B", "-m", app, "-c", configfile, "-c", worker_configfile]