Checks doc: combine redundant content into a single paragraph
This commit is contained in:
1 parent
405c23f2bd
commit
78bb76249e
1 file changed
+1
-9
@@ -32,15 +32,7 @@ dokku config:set <app> DOKKU_WAIT_TO_RETIRE=120
|
|||||||
|
|
||||||
If your application needs a longer period to boot up - perhaps to load data into memory, or because of slow boot time - you may also use dokku's `checks` functionality to more precisely check whether an application can serve traffic or not.
|
If your application needs a longer period to boot up - perhaps to load data into memory, or because of slow boot time - you may also use dokku's `checks` functionality to more precisely check whether an application can serve traffic or not.
|
||||||
|
|
||||||
To specify checks, add a `CHECKS` file to the root of your project directory. This is a text file with one line per check. Empty lines and lines starting with `#` are ignored.
|
To specify checks, add a `CHECKS` file to the root of your project directory. The `CHECKS` file may contain empty lines, comments (lines starting with #), settings (NAME=VALUE), and check instructions. The format of a check instruction is a path or relative URL, optionally followed by the expected content. For example:
|
||||||
|
|
||||||
The CHECKS file may contain empty lines, comments (lines starting with #),
|
|
||||||
settings (NAME=VALUE) and check instructions.
|
|
||||||
|
|
||||||
The format of a check instruction is a path, optionally followed by the
|
|
||||||
expected content. For example:
|
|
||||||
|
|
||||||
A check is a relative URL and may be followed by expected content from the page, for example:
|
|
||||||
|
|
||||||
```
|
```
|
||||||
/about Our Amazing Team
|
/about Our Amazing Team
|
||||||
|
|||||||
Reference in new issue
Block a user