remove potentiality to send multiple down messages for different errors
This commit is contained in:
parent
ee6600e0fc
commit
9e03e81c7f
@ -8,8 +8,10 @@ source .env
|
|||||||
if [ "$STATUS" = "0" ]
|
if [ "$STATUS" = "0" ]
|
||||||
then
|
then
|
||||||
TEXT="🟢BML Online"
|
TEXT="🟢BML Online"
|
||||||
|
STATUS=UP
|
||||||
else
|
else
|
||||||
TEXT="🔴BML Down"
|
TEXT="🔴BML Down"
|
||||||
|
STATUS=DOWN
|
||||||
fi
|
fi
|
||||||
if [ "$STATUS" != "$STATUS_OLD" ]
|
if [ "$STATUS" != "$STATUS_OLD" ]
|
||||||
then
|
then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user