|
@@ -4019,6 +4019,15 @@ void checkTask()
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ if(strcmp((char *)&ShmSysConfigAndInfo->SysConfig.MaintainServerURL,"") != 0)
|
|
|
|
+ {
|
|
|
|
+ if(system("pidof -s OcppBackendPH > /dev/null") != 0)
|
|
|
|
+ {
|
|
|
|
+ DEBUG_INFO("OcppBackendPH not running, restart it.\n");
|
|
|
|
+ system("/root/OcppBackendPH &");
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
if(system("pidof -s Module_Speaker > /dev/null") != 0)
|
|
if(system("pidof -s Module_Speaker > /dev/null") != 0)
|
|
{
|
|
{
|
|
DEBUG_INFO("Module_Speaker not running, restart it.\n");
|
|
DEBUG_INFO("Module_Speaker not running, restart it.\n");
|