Add deployable QUIC P2P hole-punch coordination server

This commit is contained in:
LIm1tZz7 committed 2026-10-12 20:18:51 +08:00
commit 328aad2b00
13 files changed
+4290

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
[Unit]
Description=ChatMask P2P hole-punch coordination
After=network-online.target
Wants=network-online.target
[Service]
User=chatmask-server
Group=chatmask-server
StateDirectory=chatmask-server
StateDirectoryMode=0700
ExecStart=/usr/local/bin/chatmask-server --key /var/lib/chatmask-server/server.key
Restart=on-failure
RestartSec=5
TimeoutStopSec=10
NoNewPrivileges=true
ProtectSystem=strict
ProtectHome=true
PrivateTmp=true
UMask=0077
MemoryMax=256M
TasksMax=128
LimitNOFILE=2048
[Install]
WantedBy=multi-user.target