diff options
author | Daniel Wagner-Hall <dawagner@gmail.com> | 2015-10-06 09:30:17 -0500 |
---|---|---|
committer | Daniel Wagner-Hall <dawagner@gmail.com> | 2015-10-06 09:30:17 -0500 |
commit | 287c81abf3c5b4bc01b4bf9c415b8ed939413c41 (patch) | |
tree | 013f1ce57cdaae78ae6d0ddf0ef7593ff63de5fa /synapse/app/synctl.py | |
parent | Preserve version string in user agent (diff) | |
parent | Explicitly add Create event as auth event (diff) | |
download | synapse-287c81abf3c5b4bc01b4bf9c415b8ed939413c41.tar.xz |
Merge branch 'develop' into daniel/useragent
Diffstat (limited to 'synapse/app/synctl.py')
-rwxr-xr-x | synapse/app/synctl.py | 4 |
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 ( |