summary refs log tree commit diff
path: root/synapse/app/synctl.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-10-01 09:21:27 +0100
committerErik Johnston <erik@matrix.org>2015-10-01 09:21:36 +0100
commit0a4b7226fc0ce163c7ba2a1a62d6125b3fd1e55d (patch)
treea6d8b368bb416b293ecfa0416d081b805a97ac5b /synapse/app/synctl.py
parentMerge pull request #287 from matrix-org/erikj/canonical_alias (diff)
downloadsynapse-0a4b7226fc0ce163c7ba2a1a62d6125b3fd1e55d.tar.xz
Don't change cwd in synctl
Diffstat (limited to '')
-rwxr-xr-xsynapse/app/synctl.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/app/synctl.py b/synapse/app/synctl.py
index 1078d19b79..5d82beed0e 100755
--- a/synapse/app/synctl.py
+++ b/synapse/app/synctl.py
@@ -32,9 +32,9 @@ def start(configfile):
     print "Starting ...",
     args = SYNAPSE
     args.extend(["--daemonize", "-c", configfile])
-    cwd = os.path.dirname(os.path.abspath(__file__))
+
     try:
-        subprocess.check_call(args, cwd=cwd)
+        subprocess.check_call(args)
         print GREEN + "started" + NORMAL
     except subprocess.CalledProcessError as e:
         print (