modify: worker重启失败 bug 修复

This commit is contained in:
2026-09-02 11:34:30 +08:00
parent ae37d282b4
commit eaf4089b6f
3 changed files with 20 additions and 15 deletions
+4 -4
View File
@@ -30,14 +30,14 @@ StartLimitBurst=5
Type=simple
# 打包应用入口:Nuitka 编译产物,前台运行 gunicorn master(Linux 分支)
ExecStart=/opt/chongming/chongming
ExecStart=/data/chongming/chongming
# 所有相对路径(config.toml / config/ / resources/*.mbank / static.svfs /
# data/ / logs/ / uploads/)均相对工作目录解析,必须指向安装目录
WorkingDirectory=/opt/chongming
WorkingDirectory=/data/chongming
# 非特权用户运行(HTTP 8000 / MQTT 1883 / Zenoh 7447 等端口均无需 root)
User=chongming
Group=chongming
User=linaro
Group=linaro
UMask=0027
# 每机可选覆盖(如 APP_WORKERS),文件不存在时忽略(- 前缀)