Use correct AES cfg

This commit is contained in:
kaetemi 2014-09-09 18:58:05 +02:00
parent 55ca1e7a2a
commit 328eaf592a

View file

@ -62,9 +62,9 @@ NLMISC::CVariable<string> SpaLaunchAESCmdLine("spa","SpaLaunchAESCmdLine","Comma
// some handy utils // some handy utils
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
static NLMISC::CSString defaultAdminExecutorServiceCfgFileName() static NLMISC::CSString defaultAdminExecutorServiceCfgFileName(const NLMISC::CSString& domainName)
{ {
return NLMISC::CPath::standardizePath(DeploymentRootDirectory)+"admin_executor_service_default.cfg"; return NLMISC::CPath::standardizePath(DeploymentRootDirectory)+"admin_executor_service_default."+domainName+".cfg";
} }
static NLMISC::CSString defaultScreenCfgFileName() static NLMISC::CSString defaultScreenCfgFileName()
@ -572,7 +572,7 @@ void CServerPatchApplier::cbDeploymentConfigurationSynchronised(NLNET::IModulePr
// setup the base for the admin_executor_service config file // setup the base for the admin_executor_service config file
CSString adminExecutorConfig; CSString adminExecutorConfig;
adminExecutorConfig.readFromFile(defaultAdminExecutorServiceCfgFileName()); adminExecutorConfig.readFromFile(defaultAdminExecutorServiceCfgFileName(*dit));
adminExecutorConfig+="\n\nShardName=\""+*dit+"\";\n"; adminExecutorConfig+="\n\nShardName=\""+*dit+"\";\n";
CSString aesRegisteredServices; CSString aesRegisteredServices;
CSString aesAddRegisteredServices; CSString aesAddRegisteredServices;