Skip to content

Commit 57b3eb8

Browse files
author
Matthew Fisher
authored
Merge pull request #587 from seanknox/procfile-doc
doc(processes): add example of reading Procfile in different directory
2 parents ee703d6 + 86cdb06 commit 57b3eb8

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

src/applications/managing-app-processes.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,19 @@ sleeper: sleep 900
6363
If you are using [remote Docker images][docker image], you may define process types by either running `deis pull` with a
6464
`Procfile` in your working directory, or by passing a stringified Procfile to the `--procfile` CLI option.
6565

66-
For example:
66+
For example, passing process types inline:
6767

6868
```
6969
$ deis pull deis/example-go:latest --procfile="cmd: /app/bin/boot"
7070
```
7171

72-
Or via a Procfile:
72+
Read a `Procfile` in another directory:
73+
74+
```
75+
$ deis pull deis/example-go:latest --procfile="$(cat deploy/Procfile)"
76+
```
77+
78+
Or via a Procfile located in your current, working directory:
7379

7480
```
7581
$ cat Procfile

0 commit comments

Comments
 (0)