|
|
|
@ -8,8 +8,6 @@ import signal
|
|
|
|
|
import pdb
|
|
|
|
|
import orchestratorServer
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#Чтение конфигурации
|
|
|
|
|
lDaemonConfigurationFile = codecs.open("orchestratorConfiguration.json", "r","utf_8_sig")
|
|
|
|
|
lDaemonConfigurationJSONString = lDaemonConfigurationFile.read()
|
|
|
|
@ -23,6 +21,8 @@ lDaemonLoopSeconds=lDaemonConfigurationObject["loopSeconds"]
|
|
|
|
|
lDaemonActivityLogDict={} #Словарь отработанных активностей, ключ - кортеж (<activityType>, <datetime>, <processPath || processName>, <processArgs>)
|
|
|
|
|
lDaemonStartDateTime=datetime.datetime.now()
|
|
|
|
|
|
|
|
|
|
orchestratorServer.mActivityLogDict = lDaemonActivityLogDict
|
|
|
|
|
|
|
|
|
|
#Инициализация сервера
|
|
|
|
|
lThreadServer = orchestratorServer.RobotDaemonServer("ServerThread",lDaemonConfigurationObject)
|
|
|
|
|
lThreadServer.start()
|
|
|
|
|