Add durable NestQuest orchestration roles and controller

This commit is contained in:
2026-09-22 10:24:12 -04:00
parent f71124c3ed
commit 68e2f63e9a
12 changed files with 724 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
[Unit]
Description=NestQuest OpenCode controller
After=network-online.target
Wants=network-online.target
StartLimitIntervalSec=600
StartLimitBurst=5
[Service]
Type=simple
User=overseer
WorkingDirectory=/mnt/ai-storage/projects/NestQuest
ExecStartPre=/home/overseer/.local/share/nestquest-controller/scripts/nq-controller --check
ExecStart=/home/overseer/.local/share/nestquest-controller/scripts/nq-controller
Restart=on-failure
RestartSec=60s
RestartPreventExitStatus=75 77
TimeoutStartSec=0
KillMode=control-group
Environment=PYTHONUNBUFFERED=1
[Install]
WantedBy=multi-user.target