1
0
mirror of https://github.com/pcvolkmer/checkbar.git synced 2025-07-02 14:22:54 +00:00

Add optional config file argument

This commit is contained in:
2022-04-07 10:19:37 +02:00
parent a893d7a6f0
commit 16b68bdaca
2 changed files with 15 additions and 5 deletions

View File

@ -33,6 +33,12 @@ You can optionally specify `check_type`:
* `Html`: Default value, checks if a request is succeessful and returns HTTP OK - 200.
* `Actuator`: Like `Html`, but checks if _Actuator_ shows that the application is up and running.
To use more than one configuration, pass the config file location as first argument to the application.
----
$ checkbar /etc/checkbar_example.toml
----
=== Colors
To change the colors, use the following configuration. As an example the colors of the default configuration are shown.