Skip to content

Commit

Permalink
Update specify-launch-process docs (#762)
Browse files Browse the repository at this point in the history
Remove mention of `pack` always treating `web` as the default process type

Signed-off-by: Rune Soerensen <[email protected]>
  • Loading branch information
runesoerensen authored Aug 28, 2024
1 parent 9f88e46 commit b8c11b8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit b8c11b8

Please sign in to comment.