1
0
mirror of https://github.com/byReqz/status.git synced 2024-11-21 15:23:15 +00:00

change default waiting time + expand readme

This commit is contained in:
Nils 2021-09-20 19:25:23 +02:00
parent 2f05435cc7
commit ca88cdc091
Signed by: byreqz
GPG Key ID: 396A62D7D436749E
2 changed files with 11 additions and 1 deletions

View File

@ -1,2 +1,12 @@
# status # status
simple script to act as a status page simple script to act as a status page
# how to run
the script uses the environment values ping_hosts and http_hosts to select the targets, if youre running them from the cli, you most likely need to export them before like
```bash
export ping_hosts="localhost localhost" && export http_hosts="https://duck.com https://google.com" && ./status.sh
```
- do not quote individual hosts
- https needs to specified most of the time to avoid 308s
for running the script in docker, see the included compose file

View File

@ -71,6 +71,6 @@ while true;do
main main
http_results="" http_results=""
ping_results="" ping_results=""
sleep 5 sleep 2m
clear clear
done done