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,23 @@
|
||||
[Unit]
|
||||
Description=ADS control center
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=ads
|
||||
WorkingDirectory=/opt/ads
|
||||
EnvironmentFile=/etc/ads/server.env
|
||||
Environment=GOMEMLIMIT=128MiB
|
||||
ExecStart=/opt/ads/ads-server --listen 127.0.0.1:18081 --cluster-config /etc/ads/cluster.json
|
||||
Restart=on-failure
|
||||
RestartSec=3
|
||||
NoNewPrivileges=true
|
||||
PrivateTmp=true
|
||||
ProtectSystem=strict
|
||||
ProtectHome=true
|
||||
MemoryMax=256M
|
||||
LimitNOFILE=8192
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in new issue
Block a user