removed chdir / as it breaks tasks

fixes #17466
reviewable/pr18780/r1
Brian Coca 8 years ago
parent 067167a9b3
commit da0dac3841

@ -51,7 +51,7 @@ def daemonize_self():
e = sys.exc_info()[1]
sys.exit("fork #1 failed: %d (%s)\n" % (e.errno, e.strerror))
# decouple from parent environment
# decouple from parent environment (does not chdir / to keep the directory context the same as for non async tasks)
os.setsid()
os.umask(int('022', 8))

Loading…
Cancel
Save