ea
This commit is contained in:
parent
3e82d2ff91
commit
29e8b9519a
@ -309,11 +309,14 @@ def mysql_config_check():
|
|||||||
return
|
return
|
||||||
|
|
||||||
for system in SQLCONFIG:
|
for system in SQLCONFIG:
|
||||||
if system not in CONFIG['SYSTEMS'] and SQLCONFIG[system]['ENABLED'] == True:
|
if system not in CONFIG['SYSTEMS']:
|
||||||
|
if SQLCONFIG[system]['ENABLED'] == True:
|
||||||
logger.debug('(MYSQL) new enabled system %s, starting HBP listener',system)
|
logger.debug('(MYSQL) new enabled system %s, starting HBP listener',system)
|
||||||
CONFIG['SYSTEMS'][system] = SQLCONFIG[system]
|
CONFIG['SYSTEMS'][system] = SQLCONFIG[system]
|
||||||
systems[system] = routerHBP(system, CONFIG, report_server)
|
systems[system] = routerHBP(system, CONFIG, report_server)
|
||||||
listeningPorts[system] = reactor.listenUDP(CONFIG['SYSTEMS'][system]['PORT'], systems[system], interface=CONFIG['SYSTEMS'][system]['IP'])
|
listeningPorts[system] = reactor.listenUDP(CONFIG['SYSTEMS'][system]['PORT'], systems[system], interface=CONFIG['SYSTEMS'][system]['IP'])
|
||||||
|
else:
|
||||||
|
logger.debug('(MYSQL) new disabled system %s',system)
|
||||||
#Do ACL processing
|
#Do ACL processing
|
||||||
# Registration ACLs
|
# Registration ACLs
|
||||||
#SQLCONFIG[system]['REG_ACL'] = acl_build(SQLCONFIG[system]['REG_ACL'], PEER_MAX)
|
#SQLCONFIG[system]['REG_ACL'] = acl_build(SQLCONFIG[system]['REG_ACL'], PEER_MAX)
|
||||||
|
Loading…
Reference in New Issue
Block a user