ON_OFF Phase 0-3: service-controller (.13:8443, token-gated, containers+systemd-user, audit log) + portal toggle cards (live status, per-user who, failed token, RAM) — full E2E verified

This commit is contained in:
2026-10-08 19:10:45 +11:00
parent bb2c6e5d0d
commit 85827be3be
15 changed files with 549 additions and 7 deletions

View File

@@ -0,0 +1,15 @@
[Unit]
Description=Family Home Lab service-controller (on/off API)
After=network-online.target docker.service
Wants=network-online.target
[Service]
Type=simple
User=sam
WorkingDirectory=/home/sam/service-controller
ExecStart=/home/sam/service-controller/run.sh
Restart=on-failure
RestartSec=5
[Install]
WantedBy=default.target