Hi Henrik, at this time we don’t plan on adding an environment variable to control this; however you may not be blocked.
This is already configurable in the `iotedged` executable via the `-c` option. The `iotedge check` has a `-c` option as well for setting this file location, because it reads the config file. (none of the other iotedge subcommands read the config file).
The only scripts related to this are in the packages and installer. However, the installer places this file in a very specific place and the executable needs to have a matching location. We actually don’t use the default anywhere. The linux packages directly specify the location: https://github.com/Azure/iotedge/blob/master/edgelet/contrib/systemd/iotedge.service#L8 And, the windows service directly specifies the location: https://github.com/Azure/iotedge/blob/master/edgelet/build/windows/iotedge.wm.xml#L60HenrikBach1 shared this idea ·