Redirect slapproxy output to stdout.

It may avoid filling buffer and blocking i/o.
parent 039386e0
......@@ -186,7 +186,8 @@ def startProxy(config):
log = os.path.join(config['log_dir'], 'slapproxy.log')
Popen([config['slapproxy'], '--log_file', log,
config['configuration_file_path']],
name='slapproxy')
name='slapproxy',
stdout=None)
time.sleep(4)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment