Skip to content

ICSHWI-8873: Add watchdog functionality

We simply check if the service is accessible (and returns a proper response), and if that is not, we bail out. Systemd will take care of the restart at that point.

Note that I have chosen not to use Systemd's native watchdog service; it seems superfluous in this case as the main thread is just a repeated loop, and breaking out of that will equally restart the service.

Merge request reports

Loading