feat(moicen): htyts 预检脚本与一键栈 release 检测含 htyts/htyproc

- scripts/moicen_htyts_smoke.sh:Redis、PG/dbtask、本机 TS HTTP、可选公网 v2
- moicen_start:存在 target/release/htyts|htyproc 时也使用 --release

Made-with: Cursor
This commit is contained in:
2026-04-26 20:30:55 +08:00
parent 517023a6cd
commit 220265195c
2 changed files with 92 additions and 1 deletions
+4 -1
View File
@@ -40,7 +40,10 @@ fi
REL=""
# 有任一 release 可执行则全程加 --release(与旧机用 debug 时可改 REL 或先不 build --release
if [ -f "$AUTH/target/release/htyuc" ] 2>/dev/null || [ -f "$HUIKE/target/release/htyws" ] 2>/dev/null; then
if [ -f "$AUTH/target/release/htyuc" ] 2>/dev/null \
|| [ -f "$HUIKE/target/release/htyws" ] 2>/dev/null \
|| [ -f "$HUIKE/target/release/htyts" ] 2>/dev/null \
|| [ -f "$HUIKE/target/release/htyproc" ] 2>/dev/null; then
REL=--release
fi