WriteServLog.SetLogFileName(newSettings.GetLogFileName());
WriteServLog("ReadSettings error. %s", newSettings.GetStrError().c_str());
- return -1;
}
- settings = newSettings;
+ else
+ {
+ settings = newSettings;
+ }
traffCnt.Reload();
- manager.reload();
+ manager.reload(settings);
}
break;
case SIGTERM:
WriteServLog("+++++++++++++++++++++++++++++++++++++++++++++");
+manager.stop();
+
if (loop.Stop())
WriteServLog("Event loop not stopped.");