2026-11-07 06:51:49 +00:00
[Unit]
2026-11-14 21:22:28 +00:00
Description = Agent Orchestrator tree: pkgmgr branch tree and the pkgmgr branch cleanup --local dry run into the files the orchestrator reads, while its page polls
2026-11-07 06:51:49 +00:00
[Service]
Type = oneshot
Environment = PATH=/usr/bin:/bin
ExecCondition = /bin/sh -c 'test -n "$(find %h/.local/state/kvb-orchestrator/tree-heartbeat -mmin -5 2>/dev/null)"'
ExecStart = %h/.local/share/kvb-orchestrator/pkgmgr/bin/pkgmgr branch tree --format json --output %h/.local/state/pkgmgr/tree/branch-tree.json
2026-11-14 21:22:28 +00:00
ExecStart = /usr/bin/env python3 %h/.local/share/kvb-orchestrator/client/local_plan.py --tree %h/.local/state/pkgmgr/tree/branch-tree.json --pkgmgr %h/.local/share/kvb-orchestrator/pkgmgr/bin/pkgmgr --budget 240
2026-11-07 06:51:49 +00:00
Nice = 10
IOSchedulingClass = idle
2026-11-08 06:46:03 +00:00
CPUQuota = 50%
TimeoutStartSec = 600