Files
semprini-maintainer/semprini-maintainer.service
paulandCopilot 12e6fef51c Run on the core host, on Claude Sonnet 5.5 via the Anthropic API; no Ollama
The daemon moves from WSL on the workstation to the core host, where it runs
commands directly (core is the only host). One model profile, claude, with a
200k context and the existing cost caps. install.sh runs on the core host.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-11-26 16:59:28 +13:00

29 lines
874 B
Desktop File

[Unit]
Description=semprini autonomous stack maintenance agent
Documentation=https://git.semprini.me/paul/semprini-maintainer
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
# A template: install.sh fills in @USER@, @HOME@ and @DIR@.
# Runs on the core host, as ubuntu. Commands run on the host directly; the
# model is Claude through the Anthropic API.
User=@USER@
Group=@USER@
WorkingDirectory=@DIR@
Environment=HOME=@HOME@
Environment=PATH=@HOME@/.local/bin:/usr/local/bin:/usr/bin:/bin
Environment=PYDANTIC_AI_NO_BANNER=1
ExecStart=@DIR@/.venv/bin/python @DIR@/maintainer.py --config @DIR@/config.json
Restart=always
RestartSec=30
# Stopping kills the whole cgroup, an agent run in progress included.
TimeoutStopSec=30
StandardOutput=journal
StandardError=journal
SyslogIdentifier=semprini-maintainer
[Install]
WantedBy=multi-user.target