add new chinese translations
This commit is contained in:
28
pages.zh/linux/foreman.md
Normal file
28
pages.zh/linux/foreman.md
Normal file
@@ -0,0 +1,28 @@
|
||||
# foreman
|
||||
|
||||
> 管理基于 Procfile 的应用程序。
|
||||
> 更多信息:<https://manned.org/foreman>。
|
||||
|
||||
- 使用当前目录中的 Procfile 启动应用程序:
|
||||
|
||||
`foreman start`
|
||||
|
||||
- 使用指定的 Procfile 启动应用程序:
|
||||
|
||||
`foreman start -f {{Procfile}}`
|
||||
|
||||
- 启动特定的应用程序:
|
||||
|
||||
`foreman start {{process}}`
|
||||
|
||||
- 验证 Procfile 格式:
|
||||
|
||||
`foreman check`
|
||||
|
||||
- 使用进程的环境运行一次性命令:
|
||||
|
||||
`foreman run {{command}}`
|
||||
|
||||
- 启动所有进程,除了名为 "worker" 的进程:
|
||||
|
||||
`foreman start -m all=1,{{worker}}=0`
|
Reference in New Issue
Block a user