feat: add control center, multiple relay nodes and P2P-first transport
This commit is contained in:
1 parent
0988e9c363
commit
2abfb63da9
44 files changed
+3477
-67
No files matched your search
@@ -0,0 +1,25 @@
|
||||
[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-2 --listen 0.0.0.0:443 --capacity 128 --tls-cert /etc/ads/tls/fullchain.pem --tls-key /etc/ads/tls/privkey.pem
|
||||
Restart=on-failure
|
||||
RestartSec=3
|
||||
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
||||
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
|
||||
NoNewPrivileges=true
|
||||
PrivateTmp=true
|
||||
ProtectSystem=strict
|
||||
ProtectHome=true
|
||||
MemoryMax=128M
|
||||
LimitNOFILE=8192
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in new issue
Block a user