# 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}}) [Service] Type=simple ExecStart={{NODE}} {{CLI}} loop subscribe --actor-kind {{ACTOR_KIND}} --agent {{AGENT}} --log {{LOG}} --state-dir {{STATE_DIR}} Restart=always RestartSec=5 # 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