On Thu, May 14, 2020, 23:43 Philip Prindeville < [email protected]> wrote:
> > > On May 13, 2020, at 11:48 AM, Michael Jones <[email protected]> > wrote: > > > > I have a critical service on my OpenWRT system that needs monitoring and > re-starting if it's failed. > > > > 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. > > > > 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. > > > > Are there any plans to support a feature like this in procd directly in > the future? > > > > If there are no plans, and I were to write code for this, would OpenWRT > be interested in reviewing, and then merging, patches? > > > > 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? > > > > > So existing services that are launched by procd (like ISC dhcpd) would > need to be patched to support this? > > -Philip > Yes. That would be the case. 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. >
_______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
