Update hostname
This commit is contained in:
parent
2da19becf1
commit
3cbbd2fed4
2 changed files with 1 additions and 1 deletions
Binary file not shown.
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
latency="$(ping -c 5 uptime.benpro.fr | awk '{print $4}' | tail -1 | cut -d'/' -f2) ms"
|
latency="$(ping -c 5 oracle.benpro.fr | awk '{print $4}' | tail -1 | cut -d'/' -f2) ms"
|
||||||
URI="https://status.benpro.fr/api/push/<secret>?msg=OK&ping=${latency}"
|
URI="https://status.benpro.fr/api/push/<secret>?msg=OK&ping=${latency}"
|
||||||
|
|
||||||
/usr/bin/curl -s -o /dev/null "$URI"
|
/usr/bin/curl -s -o /dev/null "$URI"
|
||||||
|
|
Reference in a new issue