Add --health-check command line switch. Fixes #1257

This commit is contained in:
bugficks 2023-08-09 05:54:04 +00:00
parent 7948242260
commit 3acc52ed59
6 changed files with 34 additions and 1 deletions

View file

@ -363,4 +363,15 @@ requests and may rate limit pull requests (mainly docker.io).
Environment Variable: WATCHTOWER_WARN_ON_HEAD_FAILURE
Possible values: always, auto, never
Default: auto
```
```
## Health check
Run health check and exit.
```text
Argument: --health-check
Environment Variable: WATCHTOWER_HEALTH_CHECK
Possible values: -
Default: -
```