Fix StartLimit directives in service file (move to [Unit])
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
b7e026acc6
commit
dd91089be0
2
heartbeat.jsonl
Normal file
2
heartbeat.jsonl
Normal 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"}
|
||||||
@ -2,6 +2,8 @@
|
|||||||
Description=Symbiont AI Orchestrator API
|
Description=Symbiont AI Orchestrator API
|
||||||
After=network-online.target
|
After=network-online.target
|
||||||
Wants=network-online.target
|
Wants=network-online.target
|
||||||
|
StartLimitIntervalSec=60
|
||||||
|
StartLimitBurst=5
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
@ -9,13 +11,8 @@ WorkingDirectory=/data/symbiont
|
|||||||
ExecStart=/usr/bin/python3 -m symbiont.main --serve --host 127.0.0.1 --port 8111
|
ExecStart=/usr/bin/python3 -m symbiont.main --serve --host 127.0.0.1 --port 8111
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=10
|
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=PYTHONUNBUFFERED=1
|
||||||
Environment=PYTHONPATH=/data/symbiont
|
Environment=PYTHONPATH=/data/symbiont
|
||||||
# Logging
|
|
||||||
StandardOutput=journal
|
StandardOutput=journal
|
||||||
StandardError=journal
|
StandardError=journal
|
||||||
SyslogIdentifier=symbiont-api
|
SyslogIdentifier=symbiont-api
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user