0
I need to run multiple instances of a process with different configurations. However this process is hard coded to read the configuration from a particular file (needless to say its closed source). Also the process periodically writes the configuration back to the file.
I have tried launching the process using a script after moving the correct config file for that instance but this fails because the instances overrides the config file in place for each other.
Essentially I need an equivalent of launching with different environments but at the file system level
EDIT: Each process runs as an independent user but looks for a configuration file at a common location Thanks
Put it into Docker container? This is not as efficient as namespaces, but is very easy to do. – wvxvw – 2017-11-28T13:41:37.637