chore(moicen): add env/bootstrap scripts for split AuthCore layout

Make moicen env copying compatible with sibling AuthCore repo and add start/stop/build helper scripts for huiwings stack bring-up on moicen hosts.

Made-with: Cursor
This commit is contained in:
2026-04-25 15:06:11 +08:00
parent 2d7a46a927
commit dcb0d3c365
5 changed files with 149 additions and 2 deletions
+7
View File
@@ -0,0 +1,7 @@
#!/usr/bin/env bash
# 在**即将下线的** moicen 或切流量前,结束 UC/WS/KC/htyts 的 cargo 可执行体(与 ps 里 /target/.../htyuc|htyws|htykc|htyts 匹配)。勿在有其它同名进程的主机上盲目使用。
set -euo pipefail
for p in htyuc htyws htykc htyts; do
pkill -f "/target/.*/$p" 2>/dev/null || true
done
echo "已发送 pkill;请 ps 确认无残留;admin/ts 前端的反代在其余入口自行维护。"