mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-12 04:54:52 +03:00
868954c0b4
- Put double quotes around worker - Wrap worker in tokens in the example
28 lines
502 B
Markdown
28 lines
502 B
Markdown
# foreman
|
|
|
|
> Manage Procfile-based applications.
|
|
|
|
- Start an application with the Procfile in the current directory:
|
|
|
|
`foreman start`
|
|
|
|
- Start an application with a specified Procfile:
|
|
|
|
`foreman start -f {{Procfile}}`
|
|
|
|
- Start a specific application:
|
|
|
|
`foreman start {{process}}`
|
|
|
|
- Validate Procfile format:
|
|
|
|
`foreman check`
|
|
|
|
- Run one-off commands with the process's environment:
|
|
|
|
`foreman run {{command}}`
|
|
|
|
- Start all processes except the one named "worker":
|
|
|
|
`foreman start -m all=1,{{worker}}=0`
|