Use correct AES cfg

This commit is contained in:
kaetemi 2014-09-09 18:58:05 +02:00
parent aa97b11910
commit 3251199ef1

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;