Przeglądaj źródła

Fixed #TASK_QT-9810 开启数据发送

Carl 1 rok temu
rodzic
commit
a064b12fe2
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      dist/package_dir/bin/agentctl

+ 2 - 1
dist/package_dir/bin/agentctl

@@ -132,8 +132,9 @@ getAgentPid() {
 startAgent() {
   local pid
   if [ -f "${AGENT_BIN_DIR}/${AGENT_PROC}" ]; then
-    export DISABLE_E2E_TRACING=true
+    export DISABLE_E2E_TRACING=false
     export DISABLE_STACK_TRACING=true
+    export SEND=1
     local params="--listen=0.0.0.0:8123"
 #    if [ -f "/etc/chaosd/pki/ca.crt" ] && [ -f "/etc/chaosd/pki/chaosd.crt" ] && [ -f "/etc/chaosd/pki/chaosd.key" ]; then
 #        params="server  --https-port 31768 --CA=/etc/chaosd/pki/ca.crt --cert=/etc/chaosd/pki/chaosd.crt --key=/etc/chaosd/pki/chaosd.key"