Closed Vinhold closed 6 years ago
Hmm, I think the changes to use a two-level hierarchy of ini files were done and released some time ago. Is this Issue completely resolved now?
I am not sure that the Grid services actually allow a command line option to open Halcyon.ini from someplace other than the local folder. If that can be done now, this is no longer an issue.
There are two options, one for --inifile
and one for --inimaster
as well as --inifolder
for specifying the folder and you can see the full list here.
InWorldz doesn't use them so If there is any problem with those we may not be aware. Let me know if they don't "just work". You can also specify any of those in the [Startup]
section of the Halcyon.ini
file, although I'm not clear how the catch-22 in doing so would work. ;) (I think if the Halcyon.ini file specified different startup locations, it would affect where options were read from thereafter.)
The handling of these options can be seen here.
Actually what Vin's talking about is in places like the User Server's Main Class where only the single local Halcyon.ini is loaded. This differs from what the region does. I've not yet had the time to fix it implement the new features so that the other servers act the same as the region server.
Oh, this refers to the central grid services, rather than region servers. Yeah, the startup code is different there.
This issue was moved to HalcyonGrid/halcyon#6
I just checked with Ricky on this one. The User, Grid, and Messaging services are hard coded for reading Halcyon.ini from the local folder. It looks like a simple "copy the code block" from Halcyon.exe and put in for the each of the services where they read the Halcyon.ini. This will allow the services to also read from a common configuration source for the Master Halcyon.ini as well as an instance override Halcyon.ini source as it is available for the Halcyon.exe.
Optional wish is to have each one's config data to be also URL or Path location. This would greatly help in management of multiple instances of these services.