Feature request: emit "idle" output instead of exiting gpiomon when using --idle-timeout
I'd like to be able to run gpiomon indefinitely while also being able to detect if it's no longer responding or stuck. In my linux service I want to feed the systemd watchdog on a regular basis. However gpiomon exiting after the idle timeout opens up problematic edge case of losing gpio edges between it exiting and re-entering. If gpiomon were to stay running and emit "idle" then I could feed my watchdog while never missing an edge.
I think what you may really need is the gpio-manager that's now part of the package? It exposes a D-Bus interface and already comes with a systemd service file. It exposes GPIO events as D-Bus signals.
gpio-tools are supposed to remain relatively simple programs. I don't think running gpiomon as a systemd service is a good idea.