2026-06-01 22:37:33 +00:00
|
|
|
[Unit]
|
|
|
|
|
Description=t3 per-user dispatch + auto-pair (X-authentik-username -> user instance)
|
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
|
Type=simple
|
2026-06-01 22:40:53 +00:00
|
|
|
# Unprivileged dedicated user; the only privileged action is `sudo t3-mint`
|
|
|
|
|
# (scoped in /etc/sudoers.d/t3-autopair). Compromise => mint tokens at most.
|
|
|
|
|
User=t3-dispatch
|
2026-06-01 22:37:33 +00:00
|
|
|
ExecStart=/usr/local/bin/t3-dispatch
|
|
|
|
|
Restart=on-failure
|
|
|
|
|
RestartSec=5
|
|
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
|
WantedBy=multi-user.target
|