Skip to content

[Feature] 服务化部署:后台驻留 + 统一启停 #187

@cft0808

Description

@cft0808

功能描述

当前启动需要手动运行多条命令并用 nohup 挂后台,体验不够友好。需要支持服务化部署。

当前痛点

用户每次需要手动执行:

nohup bash scripts/run_loop.sh > loop.log 2>&1 &
nohup python3 dashboard/server.py --host 0.0.0.0 --port 7891 > dashboard.log 2>&1 &

期望效果

方案一:统一启停脚本

./edict start    # 启动所有服务(loop + dashboard)
./edict stop     # 停止所有服务
./edict status   # 查看运行状态
./edict restart  # 重启

方案二:systemd 服务(Linux)

  • 提供 edict.service 模板文件
  • systemctl enable edict 实现开机自启

方案三:Docker Compose 完整编排

  • 参考 ROADMAP Phase 3 的 Docker Compose 计划
  • 包含 dashboard + run_loop + OpenClaw Gateway

附加需求

关联

来自 #153 的用户建议;ROADMAP Phase 3 Docker 编排计划

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions