feat: relay several servers, registered through the control API
This commit is contained in:
+5
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user