mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-11 12:54:19 -05:00
Don't change cwd in synctl
This commit is contained in:
parent
0ec78b360c
commit
0a4b7226fc
@ -32,9 +32,9 @@ def start(configfile):
|
|||||||
print "Starting ...",
|
print "Starting ...",
|
||||||
args = SYNAPSE
|
args = SYNAPSE
|
||||||
args.extend(["--daemonize", "-c", configfile])
|
args.extend(["--daemonize", "-c", configfile])
|
||||||
cwd = os.path.dirname(os.path.abspath(__file__))
|
|
||||||
try:
|
try:
|
||||||
subprocess.check_call(args, cwd=cwd)
|
subprocess.check_call(args)
|
||||||
print GREEN + "started" + NORMAL
|
print GREEN + "started" + NORMAL
|
||||||
except subprocess.CalledProcessError as e:
|
except subprocess.CalledProcessError as e:
|
||||||
print (
|
print (
|
||||||
|
Loading…
Reference in New Issue
Block a user