mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-12 04:35:47 +02:00
foreman: add page (#1526)
This commit is contained in:
commit
3b1696ecb4
1 changed files with 27 additions and 0 deletions
27
pages/linux/foreman.md
Normal file
27
pages/linux/foreman.md
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
# 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`
|
Loading…
Add table
Reference in a new issue