1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/linux/foreman.md

28 lines
502 B
Markdown
Raw Normal View History

2017-10-07 02:02:51 -07:00
# foreman
2017-10-14 20:58:16 -07:00
> Manage Procfile-based applications.
2017-10-07 02:02:51 -07:00
2017-10-14 20:58:16 -07:00
- Start an application with the Procfile in the current directory:
2017-10-07 11:54:14 -07:00
`foreman start`
- Start an application with a specified Procfile:
`foreman start -f {{Procfile}}`
2017-10-07 11:54:14 -07:00
- Start a specific application:
2017-10-07 02:02:51 -07:00
`foreman start {{process}}`
2017-10-07 11:54:14 -07:00
- Validate Procfile format:
`foreman check`
2017-10-07 02:02:51 -07:00
- Run one-off commands with the process's environment:
`foreman run {{command}}`
- Start all processes except the one named "worker":
2017-10-07 02:02:51 -07:00
`foreman start -m all=1,{{worker}}=0`