feat: relay several servers, registered through the control API

This commit is contained in:
rmanach
2026-10-01 13:32:45 +02:00
parent af2dc3af53
commit 6b2b137c1d
18 changed files with 1496 additions and 376 deletions
+5 -3
View File
@@ -9,12 +9,14 @@ Restart=always
RestartSec=2
# One socket per client session, at most 2048 (MAX_SESSIONS): room above it.
LimitNOFILE=4096
# ETRELAY_CONTROL_TOKEN=... for --control; read by systemd, root only (0600).
# ETRELAY_CONTROL_TOKEN=... for --control (what servers register with); read by systemd,
# root only (0600).
EnvironmentFile=-/etc/etrelay/env
# /var/lib/etrelay: the bans file, kept across restarts and upgrades.
# /var/lib/etrelay: the registered servers and their bans, kept across restarts and
# upgrades.
StateDirectory=etrelay
# Port 27960 > 1024: no privilege needed.
# Ports 27960 and up > 1024: no privilege needed.
DynamicUser=yes
NoNewPrivileges=yes
ProtectSystem=strict