feat: add control center, multiple relay nodes and P2P-first transport

This commit is contained in:
tongtong committed 2026-11-12 16:56:06 +08:00
1 parent 0988e9c363
commit 2abfb63da9
44 files changed
+3477 -67

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
[Unit]
Description=ADS relay node
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
User=ads
WorkingDirectory=/opt/ads
EnvironmentFile=/etc/ads/relay.env
Environment=GOMEMLIMIT=64MiB
ExecStart=/opt/ads/ads-relay --id relay-1 --listen 127.0.0.1:18082 --capacity 128
Restart=on-failure
RestartSec=3
NoNewPrivileges=true
PrivateTmp=true
ProtectSystem=strict
ProtectHome=true
MemoryMax=128M
LimitNOFILE=8192
[Install]
WantedBy=multi-user.target