Skip to content

Commit

Permalink
docs(deployment): fix typo on grep (#2898)
Browse files Browse the repository at this point in the history
  • Loading branch information
BaffinLee authored and fengmk2 committed Aug 13, 2018
1 parent 6bfe70b commit 6813560
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/source/en/core/deployment.md
Expand Up @@ -97,7 +97,7 @@ $ egg-scripts stop

This command will kill master process which will handler and notice worker and agent to gracefull exit.

Also you can manually call `ps -eo "pid,command" | grep "--type=egg-server"` to find master process then `kill` without `-9`.
Also you can manually call `ps -eo "pid,command" | grep -- "--title=egg-server"` to find master process then `kill` without `-9`.

[egg-cluster]: https://github.com/eggjs/egg-cluster
[egg-scripts]: https://github.com/eggjs/egg-scripts
Expand Down
2 changes: 1 addition & 1 deletion docs/source/zh-cn/core/deployment.md
Expand Up @@ -102,7 +102,7 @@ $ egg-scripts stop [--title=egg-server]
支持以下参数:
- `--title=egg-server` 用于杀死指定的 egg 应用,未传递则会终止所有的 Egg 应用。

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

## 监控

Expand Down

0 comments on commit 6813560

Please sign in to comment.