Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

Commit

Permalink
doc(processes): add example of reading Procfile in different directory
Browse files Browse the repository at this point in the history
  • Loading branch information
seanknox committed Oct 28, 2016
1 parent 8d8b7ec commit 86cdb06
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/applications/managing-app-processes.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,19 @@ sleeper: sleep 900
If you are using [remote Docker images][docker image], you may define process types by either running `deis pull` with a
`Procfile` in your working directory, or by passing a stringified Procfile to the `--procfile` CLI option.

For example:
For example, passing process types inline:

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

Or via a Procfile:
Read a `Procfile` in another directory:

```
$ deis pull deis/example-go:latest --procfile="$(cat deploy/Procfile)"
```

Or via a Procfile located in your current, working directory:

```
$ cat Procfile
Expand Down

0 comments on commit 86cdb06

Please sign in to comment.