From b8c11b87210e828755185db74fde7a878f91b924 Mon Sep 17 00:00:00 2001 From: Rune Soerensen Date: Tue, 27 Aug 2024 23:57:38 -0700 Subject: [PATCH] Update specify-launch-process docs (#762) Remove mention of `pack` always treating `web` as the default process type Signed-off-by: Rune Soerensen --- .../how-to/build-outputs/specify-launch-process.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/docs/for-app-developers/how-to/build-outputs/specify-launch-process.md b/content/docs/for-app-developers/how-to/build-outputs/specify-launch-process.md index 49416927a..562cb0d2e 100644 --- a/content/docs/for-app-developers/how-to/build-outputs/specify-launch-process.md +++ b/content/docs/for-app-developers/how-to/build-outputs/specify-launch-process.md @@ -54,7 +54,7 @@ Rebasable: true Buildpacks: ID VERSION HOMEPAGE - samples/java-maven 0.0.1 https://github.com/buildpacks/samples/tree/main/buildpacks/java-maven + samples/java-maven 0.0.2 https://github.com/buildpacks/samples/tree/main/buildpacks/java-maven samples/hello-processes 0.0.1 https://github.com/buildpacks/samples/tree/main/buildpacks/hello-process Processes: @@ -63,7 +63,7 @@ Processes: sys-info bash /layers/samples_hello-processes/sys-info/sys-info.sh ``` -Notice that the default process type is `web`. This is because `pack` will always attempt to set the default process type to `web` unless the `--default-process` flag is passed. +Notice that the `java-maven` buildpack defined `web` as the default process type. If we had run the `pack build` command above with `--default-process sys-info`, `sys-info` would be the default process for the app image! ### Run a multi-process app