diff --git a/pages/linux/foreman.md b/pages/linux/foreman.md new file mode 100644 index 000000000..7b88b1d21 --- /dev/null +++ b/pages/linux/foreman.md @@ -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`