feat(worker): start.sh 改为后台服务开关(start/stop/restart/status)
- ./start.sh 现支持 start/stop/restart/status 子命令,无参默认 start - 后台运行 + PID 文件(worker.pid) + 日志(worker.log),手动控制开关 - 前台热重载开发仍用 run_worker.sh - gitignore 补 worker.pid / worker.log Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -10,6 +10,10 @@ gateway/config.json
|
||||
# worker 配置(含鉴权密码,不入 git)
|
||||
worker_config.json
|
||||
|
||||
# worker 运行期文件(PID / 日志)
|
||||
worker.pid
|
||||
worker.log
|
||||
|
||||
# SegFormer 模型权重(~323MB,体积过大,不入 git,见 OFFLINE_ASSETS.md)
|
||||
hairline/models/face-parsing/model.safetensors
|
||||
|
||||
|
||||
Reference in New Issue
Block a user