Remote Restart of the IoT EDGE Daemon for re-provisining services
For DPS re-provision scenarios, such as moving the device to a new IoT hub or setting new configuration of the device, the daemon needs to restarted in order to use the config.yaml file to communicate with DPS, so the configuration can be updated.
it would be useful to be able to restart the daemon remotely ( via a direct method of the edge agent as an example )
We’ll likely add this capability as we expand our device management and update capabilities. In the meantime, you can write a custom module that exposes this method and calls the correct system methods for the OS used by your devices.
Satish Boddu commented
Related Discussion: https://docs.microsoft.com/en-us/answers/questions/53899/index.html