<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, May 14, 2020, 23:43 Philip Prindeville <<a href="mailto:philipp_subx@redfish-solutions.com">philipp_subx@redfish-solutions.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
> On May 13, 2020, at 11:48 AM, Michael Jones <<a href="mailto:mike@meshplusplus.com" target="_blank" rel="noreferrer">mike@meshplusplus.com</a>> wrote:<br>
> <br>
> I have a critical service on my OpenWRT system that needs monitoring and re-starting if it's failed.<br>
> <br>
> I've been looking for a mechanism in procd that would allow me to request that my service be terminated if it did not periodically notify some watchdog endpoint via ubus.<br>
> <br>
> It seems to me like this is not something that is currently supported by procd, and I've written my own clumsy "watchdog" wrapper program that tries to do the job.<br>
> <br>
> Are there any plans to support a feature like this in procd directly in the future?<br>
> <br>
> If there are no plans, and I were to write code for this, would OpenWRT be interested in reviewing, and then merging, patches?<br>
> <br>
> Are there other people on this list who would take advantage of this feature if it were available? If so, what functionality would you like to see?<br>
> <br>
<br>
<br>
So existing services that are launched by procd (like ISC dhcpd) would need to be patched to support this?<br>
<br>
-Philip<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Yes. That would be the case.</div><div dir="auto"><br></div><div dir="auto">It would need to be an opt-in feature. Its not possible for a service watchdog to be opt out because service watchdogs need to be tailored to the service being watched.</div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"></blockquote></div></div><div dir="auto"></div></div>