[Unit] Description=Agent credential broker (unix-socket daemon) [Service] Type=simple # The wrapper resolves the package via PYTHONPATH; %h keeps it portable. ExecStart=%h/.local/bin/agent-broker daemon Restart=on-failure RestartSec=2s # bw is located via config bw_path (preferred) or PATH; the child's PATH # is rebuilt by the backend, so only the daemon's own tools matter here. Environment=PATH=%h/.local/bin:/usr/local/bin:/usr/bin:/bin Environment=AGENT_BROKER_CONFIG=%h/.paginica/mcp/agent-broker/config.json [Install] WantedBy=default.target