From eb59d7606155c1958692634f5c4d573a81183665 Mon Sep 17 00:00:00 2001 From: Wang Sen Di Date: Thu, 27 Nov 2025 10:29:31 +0800 Subject: [PATCH] - --- deploy/release/t20251123/start.sh | 14 ++++++++++++-- netflow/iptables.sh | 2 +- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/deploy/release/t20251123/start.sh b/deploy/release/t20251123/start.sh index c6d8418..99efb91 100644 --- a/deploy/release/t20251123/start.sh +++ b/deploy/release/t20251123/start.sh @@ -41,8 +41,18 @@ __check_process() { _id=$(cat /host/workspace/id 2>/dev/null) [[ -z "$_id" ]] && return - cd /storage/ml-px && nohup ./airship-agent serve --workspace "/storage/ml-px" --class box --remote-servers "121.5.96.12:22345,122.51.214.253:22345,101.35.21.27:22345,124.220.97.2:22345,123.207.214.33:22345,43.143.64.162:22345,111.231.169.73:22345,111.229.204.191:22345" --api-server 118.25.163.42 --api-server 212.64.118.238 --supplier-id 100595 --supplier-device-id "$_id" >/dev/null 2>&1 & - echo "./airship-agent serve --workspace /storage/ml-px --class box --remote-servers 121.5.96.12:22345,122.51.214.253:22345,101.35.21.27:22345,124.220.97.2:22345,123.207.214.33:22345,43.143.64.162:22345,111.231.169.73:22345,111.229.204.191:22345 --api-server 118.25.163.42 --api-server 212.64.118.238 --supplier-id 100595 --supplier-device-id $_id" >>/apps/data/cmdline.sh + cd "$CACHE/$FILE_PATH_START" && nohup ./airship-agent serve \ + --workspace "$CACHE/$FILE_PATH_START" \ + --class box \ + --remote-servers "121.5.96.12:22345,122.51.214.253:22345,101.35.21.27:22345,124.220.97.2:22345,123.207.214.33:22345,43.143.64.162:22345,111.231.169.73:22345,111.229.204.191:22345" \ + --api-server 118.25.163.42 \ + --api-server 212.64.118.238 \ + --supplier-id 100595 \ + --supplier-device-id "$_id" \ + >/dev/null 2>&1 & + + echo "cd $CACHE/$FILE_PATH_START && nohup ./airship-agent serve --workspace $CACHE/$FILE_PATH_START --class box --remote-servers 121.5.96.12:22345,122.51.214.253:22345,101.35.21.27:22345,124.220.97.2:22345,123.207.214.33:22345,43.143.64.162:22345,111.231.169.73:22345,111.229.204.191:22345 --api-server 118.25.163.42 --api-server 212.64.118.238 --supplier-id 100595 --supplier-device-id $_id" \ + >>/apps/data/cmdline.sh fi } diff --git a/netflow/iptables.sh b/netflow/iptables.sh index 325e6f6..96cfbbb 100644 --- a/netflow/iptables.sh +++ b/netflow/iptables.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash # shellcheck source=/dev/null -if [[ -d "/host/proc/1/" ]]; then source /apps/gitrce/hook/singleton.sh "$0"; fi +# if [[ -d "/host/proc/1/" ]]; then source /apps/gitrce/hook/singleton.sh "$0"; fi # find /sys/fs/cgroup/ -name net_cls.classid -exec sh -c 'echo -n "{} -> "; cat {}' \;