Closed
Description
Add switch that would define, where ini files are. I would go with -S
(settings) or -I
(ini), since -C
(as config) is taken.
I guess it would be defined in CServer::CommandLine
, but it would have to be parsed elsewhere, before loading actual ini files. During CServerConfig::LoadIni
and CServerConfig::LoadCryptIni
it would check for input from switch or fallback to directory of sphereserver binary/excutable ./
This would help with windows service bug (the part with directory change could be removed, the path switch would be added as service parameter during creation) and it should enable placing config files on linux systems to /etc/
directory, where config files usually reside.
Metadata
Metadata
Assignees
Labels
No labels