mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-17 07:49:26 +00:00
Update cheatsheets
This commit is contained in:
33
linux/foreman
Normal file
33
linux/foreman
Normal file
@@ -0,0 +1,33 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# foreman
|
||||
|
||||
> Manage Procfile-based applications.
|
||||
> More information: <https://manned.org/foreman>.
|
||||
|
||||
- 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`
|
||||
Reference in New Issue
Block a user