8 lines
136 B
Bash
Executable File
8 lines
136 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [[ $(curl -sL "http://localhost:9696/ping" | jq -r '.status' 2>/dev/null) = "OK" ]]; then
|
|
exit 0
|
|
else
|
|
exit 1
|
|
fi
|