CoolFace
Apppublic

mfas/lov

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes
start.sh15 linesDownload Raw Back to root
1#!/usr/bin/bash2export NEZHA_SERVER="xxx.xxxx.com"3export NEZHA_PORT="5555"  #当端口设置为443时,自动开启TLS,无需设置4export NEZHA_KEY="d0hJ9XrXSb1abcdefg"5 6chmod +x server7if [ "$NEZHA_PORT" = "443" ]; then8  NEZHA_TLS="--tls"9else10  NEZHA_TLS=""11fi12nohup ./server -s ${NEZHA_SERVER}:${NEZHA_PORT} -p ${NEZHA_KEY} ${NEZHA_TLS} > /dev/null 2>&1 &13 14tail -f /dev/null15