修复bug

This commit is contained in:
dekun
2026-05-24 07:43:05 +08:00
parent a3218f4fbd
commit 4b5fae2946
6 changed files with 26 additions and 11 deletions
@@ -53,11 +53,11 @@ start_one() {
fi
screen -dmS "${name}" bash -c "
cd '${work}' || { echo 'cd failed' >>'${logf}'; exit 1; }
set -a
# shellcheck source=lib_load_dotenv.sh
source '${HUB_DIR}/scripts/lib_load_dotenv.sh'
if [[ -f .env ]]; then
. ./.env
load_dotenv_file .env >>'${logf}' 2>&1 || echo 'load .env failed' >>'${logf}'
fi
set +a
export EXCHANGE='${exchange}' PORT='${port}' HOST=127.0.0.1
exec '${VENV_PY}' '${AGENT_PY}' >>'${logf}' 2>&1
"