This commit is contained in:
zqiushi 2025-01-08 21:04:47 +08:00
parent a6699548f2
commit bcf3fc3108

View File

@ -80,7 +80,7 @@ EOF
echo "Port retrieved: $port"
# 更新配置文件中的 remote_port 字段
sed -i "s/remote_port = /remote_port = $port/" "$FRPC_DIR/frpc.ini"
sudo systemctl restart lsyfrpc
sudo systemctl start lsyfrpc
}
# 主函数,调用相关函数来完成安装等操作