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:
15
deploy/service-controller/family-service-controller.service
Normal file
15
deploy/service-controller/family-service-controller.service
Normal 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
|
||||
Reference in New Issue
Block a user