Skip to content

Commit

Permalink
docs(deployment): adjust with new version egg-scripts (#1757)
Browse files Browse the repository at this point in the history
  • Loading branch information
atian25 authored and dead-horse committed Nov 29, 2017
1 parent 1b12b51 commit d752b3b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/source/zh-cn/core/deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,14 @@ exports.cluster = {
### 停止命令

```bash
$ egg-scripts stop
$ egg-scripts stop [--title=egg-server]
```

该命令将杀死 master 进程,并通知 worker 和 agent 优雅退出。

支持以下参数:
- `--title=egg-server` 用于杀死指定的 egg 应用,未传递则会终止所有的 Egg 应用。

你也可以直接通过 `ps -eo "pid,command" | grep "--type=egg-server"` 来找到 master 进程,并 `kill` 掉,无需 `kill -9`


Expand Down

0 comments on commit d752b3b

Please sign in to comment.