Files
netquality/server/deploy/netquality-node.service
T
Cursor Agentandyanjiu0721 f6ffbde518 Import netquality 1.1.1
Initial import of the 1.1.1 source tree. Corresponds to Origin commit f9d97e368818acfe7dd44fa9fe5088b9629d0dff.

Co-authored-by: yanjiu0721 <yanjiu0721@users.noreply.github.com>
2026-11-09 23:06:30 +00:00

24 lines
768 B
Desktop File

[Unit]
Description=NetQuality probe node and reflector
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
ExecStart=/usr/local/bin/netquality-reflector -mode both -bind 0.0.0.0 -tcp-port 19090 -udp-port 19091 -control-addr 127.0.0.1:8443
Restart=on-failure
RestartSec=2
NoNewPrivileges=true
ProtectSystem=strict
ProtectHome=true
PrivateTmp=true
# 二选一,不要把真实口令提交到仓库。
# 留空或不设置 NQ_NODE_TOKEN:公开节点,任何人都能用,但有并发和时长上限。
# Environment=NQ_NODE_TOKEN=replace-with-your-own-node-token
# 下面这个是反射帧里的回显口令,和节点口令不是同一个。
# Environment=NQ_TOKEN=replace-with-your-own-echo-token
[Install]
WantedBy=multi-user.target