Deploy ttstd relay and configure secure public WSS clients

This commit is contained in:
tongtong committed 2026-11-12 13:08:04 +08:00
1 parent 82adce545d
commit c38f067bea
16 files changed
+384 -24

No files matched your search

+6 -1
View File
@@ -8,11 +8,16 @@ Type=simple
User=ads
WorkingDirectory=/opt/ads
EnvironmentFile=/etc/ads/server.env
ExecStart=/opt/ads/ads-server --listen 127.0.0.1:8080
Environment=GOMEMLIMIT=128MiB
ExecStart=/opt/ads/ads-server --listen 127.0.0.1:18081
Restart=on-failure
RestartSec=3
NoNewPrivileges=true
PrivateTmp=true
ProtectSystem=strict
ProtectHome=true
MemoryMax=256M
LimitNOFILE=8192
[Install]
WantedBy=multi-user.target