t3code: reconcile per-user t3 instances from /etc/ttyd-user-map

Sticky port allocation (3773+), enables t3-serve@<user>, emits
/etc/t3-serve/dispatch.json for the dispatch service. systemd timer
(OnBootSec+hourly) mirrors the apply-mbps-caps pattern.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Viktor Barzin 2026-06-01 22:34:50 +00:00
parent f8a63fdacd
commit 72aba7da32
3 changed files with 61 additions and 0 deletions

View file

@ -0,0 +1,7 @@
[Unit]
Description=Reconcile per-user t3 instances from /etc/ttyd-user-map
After=network.target
[Service]
Type=oneshot
ExecStart=/usr/local/bin/t3-provision-users