2026-10-09 20:19:05 +09:00
|
|
|
[Unit]
|
|
|
|
|
Description=Yukart gateway: the display boundary (svc-gw)
|
|
|
|
|
Documentation=gitea:yukart/svc-gw
|
2026-10-12 16:37:09 +09:00
|
|
|
# Tier 3. Ordered after the broker and nothing else; it reconnects by itself if the broker restarts.
|
|
|
|
|
After=mosquitto.service
|
2026-10-09 20:19:05 +09:00
|
|
|
StartLimitIntervalSec=0
|
|
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
|
User=mikkeli
|
|
|
|
|
# Add --mock only on a bench unit: every message then says so, and displays must show it.
|
2026-10-13 18:35:06 +09:00
|
|
|
# --allow-poweroff: the display may shut this host down (contracts BOUNDARY.md, poweroff). Only on the Orin.
|
|
|
|
|
ExecStart=/usr/local/bin/yukart-gw --listen 0.0.0.0:7700 --allow-poweroff
|
2026-10-09 20:19:05 +09:00
|
|
|
Restart=always
|
|
|
|
|
RestartSec=2
|
|
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
|
WantedBy=multi-user.target
|