watchcat: add optional failure timer reset
authorDharmik Parmar <redacted>
Mon, 11 May 2026 18:04:08 +0000 (23:34 +0530)
committerHannu Nyman <redacted>
Tue, 23 Jun 2026 06:16:47 +0000 (09:16 +0300)
commit94502932205c017112e616701ec93bd3887e7d2f
treefb6e8c768195a513f9c57ac381cddab9110a5a24
parent624ac97d9436d2a6d1d9aef1d06fd4ede6bde02b
watchcat: add optional failure timer reset

Add an opt-in reset_failure_timer option for restart_iface and
run_script modes.

When enabled, watchcat starts a fresh failure window after the
recovery action finishes before allowing another recovery action.
The existing behavior remains the default.

Document the intended default and reset_failure_timer timing
behavior in TIMINGS.md and use a safer string comparison for the
reset_failure_timer check.

Signed-off-by: Dharmik Parmar <redacted>
utils/watchcat/Makefile
utils/watchcat/TIMINGS.md [new file with mode: 0644]
utils/watchcat/files/watchcat.config
utils/watchcat/files/watchcat.init
utils/watchcat/files/watchcat.sh
utils/watchcat/test-version.sh [new file with mode: 0755]
git clone https://git.99rst.org/PROJECT