# Meerkat TaskPanel event subscriber — generated by `install.sh`. # # Follows the local event hub through `taskctl events follow` and asks for a # continue turn when a dispatch-relevant event arrives. The ping/continue timers stay enabled beside # it: they remain the fallback, and the only path for time-based work (stale # claims, review aging, SLA tiers). # # `Type=simple` + `Restart=always` is the unit's recovery story; the process # also reconnects with backoff, so a restart is the last resort. [Unit] Description=Meerkat TaskPanel event subscriber ({{AGENT}} on {{ACTOR_KIND}}) # No start limit: the subscriber never gives up on itself. The only delay is the # boot-health ladder for a start that never reached the hub. StartLimitIntervalSec=0 [Service] Type=simple ExecStart={{NODE}} {{CLI}} subscribe --actor-kind {{ACTOR_KIND}} --agent {{AGENT}} --log {{LOG}} --state-dir {{STATE_DIR}} Restart=always RestartSec=2 # EX_CONFIG (78): an unsupported runtime cannot appear by restarting. RestartPreventExitStatus=78 # No stdout/stderr redirect: the loop writes --log itself (with rotation). # A redirect into the same file would duplicate every line. [Install] WantedBy=default.target