allow manager to bind on unix socket

This commit is contained in:
clowwindy 2015-08-05 23:11:56 +08:00
parent 9c3af61433
commit d20a07192c
3 changed files with 18 additions and 10 deletions

View file

@ -49,7 +49,7 @@ def main():
else:
config['port_password'][str(server_port)] = config['password']
if config.get('manager_port', 0):
if config.get('manager_address', 0):
logging.info('entering manager mode')
manager.run(config)
return