aa
This commit is contained in:
parent
28ac8f9734
commit
842eed71a9
@ -309,8 +309,8 @@ def mysql_config_check():
|
|||||||
return
|
return
|
||||||
|
|
||||||
for system in SQLCONFIG:
|
for system in SQLCONFIG:
|
||||||
if system not in CONFIG['SYSTEMS']:
|
if system not in CONFIG['SYSTEMS'] and SQLCONFIG[system]['ENABLED'] == True:
|
||||||
logger.debug('(MYSQL) new 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'])
|
||||||
|
Loading…
Reference in New Issue
Block a user