Instead of looking for config.json form current directory when running the program, look for the config.json from the executable running directory. This will allow for calling fail2rest executable from a service w/o getting the "failed to open config: config.json" error.
Instead of looking for config.json form current directory when running the program, look for the config.json from the executable running directory. This will allow for calling fail2rest executable from a service w/o getting the "failed to open config: config.json" error.