Fix StartLimit directives in service file (move to [Unit])

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Symbiont 2026-03-19 19:42:25 +00:00
parent b7e026acc6
commit dd91089be0
2 changed files with 4 additions and 5 deletions

2
heartbeat.jsonl Normal file
View File

@ -0,0 +1,2 @@
{"timestamp": "2026-03-19T19:41:19.517373", "claude_cli": {"status": "ok", "detail": "authenticated"}, "disk": {"status": "ok", "total": "915G", "used": "20G", "available": "849G", "use_pct": "3%"}, "api_server": {"status": "ok", "detail": "active"}, "ledger": {"calls_today": 4, "cost_today": 0.062}, "queue": {"processed": 0}, "health": "healthy"}
{"timestamp": "2026-03-19T19:41:38.652515", "claude_cli": {"status": "ok", "detail": "authenticated"}, "disk": {"status": "ok", "total": "915G", "used": "20G", "available": "849G", "use_pct": "3%"}, "api_server": {"status": "ok", "detail": "active"}, "ledger": {"calls_today": 4, "cost_today": 0.062}, "queue": {"processed": 0}, "health": "healthy"}

View File

@ -2,6 +2,8 @@
Description=Symbiont AI Orchestrator API
After=network-online.target
Wants=network-online.target
StartLimitIntervalSec=60
StartLimitBurst=5
[Service]
Type=simple
@ -9,13 +11,8 @@ WorkingDirectory=/data/symbiont
ExecStart=/usr/bin/python3 -m symbiont.main --serve --host 127.0.0.1 --port 8111
Restart=always
RestartSec=10
# If I crash 5 times in 60 seconds, stop trying (something is fundamentally wrong)
StartLimitIntervalSec=60
StartLimitBurst=5
# Environment
Environment=PYTHONUNBUFFERED=1
Environment=PYTHONPATH=/data/symbiont
# Logging
StandardOutput=journal
StandardError=journal
SyslogIdentifier=symbiont-api