Currently, there is no option to find out in already started service, which config file path was used to read server config.
But It would be useful.
For example, if there were this option, it would be possible to specify additional file paths in config, relative to config file location, regardless of process current directory.
Currently, the sample below doesn't work, but with that option would:
Currently, there is no option to find out in already started service, which config file path was used to read server config. But It would be useful. For example, if there were this option, it would be possible to specify additional file paths in config, relative to config file location, regardless of process current directory.
Currently, the sample below doesn't work, but with that option would:
A very simple solution would be:
config_file_path
incore/src/components/run.cpp
andGetConfigFilePath
function in the corresponding header to get the valueConfigToManagerVisitor::operator()(const std::string&)